Fix minore
This commit is contained in:
parent
9302bf364b
commit
c32e16b62a
|
@ -244,7 +244,7 @@ switch ($resource) {
|
||||||
$filter[] = '`id`='.prepare($element);
|
$filter[] = '`id`='.prepare($element);
|
||||||
}
|
}
|
||||||
|
|
||||||
$where[] = '`parent`='.prepare($superselect['`id_categoria`']);
|
$where[] = '`parent`='.prepare($superselect['id_categoria']);
|
||||||
|
|
||||||
if (!empty($search)) {
|
if (!empty($search)) {
|
||||||
$search_fields[] = '`nome` LIKE '.prepare('%'.$search.'%');
|
$search_fields[] = '`nome` LIKE '.prepare('%'.$search.'%');
|
||||||
|
|
Loading…
Reference in New Issue