Лучший Ответ SmetDenis , 09 January 2017 - 08:39
Тогда замените всю функцию на эту
protected function _getWhere($value, $exact = 0)
{
if (!is_array($value)) {
$value = array($value);
}
$where = array();
foreach ($value as $valueOne) {
if ((int)$exact) {
$where[] = 'tItem.name = ' . $this->_db->quote($valueOne);
} else {
$valueOne = $this->_prepareValue($valueOne);
$where[] = $this->_buildLikeBySpaces($valueOne, 'tItem.name');
}
}
return $where;
}
Перейти к сообщению


Тема закрыта








