|
|
@@ -3655,6 +3655,12 @@ class PokazOfertyController {
|
|
|
}
|
|
|
}
|
|
|
if (count($sqlSearch) <= 0) return false;
|
|
|
+ if (!array_key_exists('TVC', $this->id_options_to_srv)) {
|
|
|
+ $sqlSearch[] = "g.`ID_TVC`='0'";
|
|
|
+ }
|
|
|
+ if (!array_key_exists('TEL', $this->id_options_to_srv)) {
|
|
|
+ $sqlSearch[] = "g.`ID_TEL`='0'";
|
|
|
+ }
|
|
|
$sqlSearch = implode(" and ", $sqlSearch);
|
|
|
|
|
|
$offersIds = array_values($this->id_options_to_srv);
|