- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
if (is_array($search_ct_properties->getEngines()))
{
$where_engines = array();
foreach ($search_ct_properties->getEngines() as $engine)
{
if ($engine == 5)
{
$where_engines[] = 'ct_modifications.fuel_id != 6';
}
else
{
$where_engines[] = 'ct_modifications.fuel_id = 6';
}
}
$where[] = '(' . implode(' OR ', $where_engines) . ')';
}
Комментарии (0) RSS
Добавить комментарий