$entity_data_class = GetEntityDataClass($SALE_DISCOUNT_INFORMER_HL_BLOCK_ID);
$arFilter = Array(
Array(
"LOGIC"=>"AND",
Array(
"UF_USER_ID"=>$arUser["ID"]
),
Array(
"UF_GROUP_ID"=>$arGroupId
)
)
);
$rsData = $entity_data_class::getList(array(
'select' => array('*'),
'filter' => $arFilter
));
if(!intval($rsData->SelectedRowsCount())){
...
}
получаю ошибку
[Error]
Call to undefined method Bitrix\Main\ORM\Query\Result::SelectedRowsCount() (0)
в $rsData
object(Bitrix\Main\ORM\Query\Result)#68 (15) { ["result":protected]=> object(Bitrix\Main\DB\MysqliResult)#232 (9) { ["resource":protected]=> object(mysqli_result)#219 (5) { ["current_field"]=> int(0) ["field_count"]=> int(10) ["lengths"]=> NULL ["num_rows"]=> int(1) ["type"]=> .....
["num_rows"]=> int(1)
что не так?