Fix parameters array poisoning
The $parameters array is not unset causing other $parameters arrays in the global namespace to have the 'search' parameter (line 188) to always be added to the query.
This commit is contained in:
parent
b82d9f17a7
commit
43a2104e5e
|
|
@ -198,7 +198,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
unset($sql, $rows, $row);
|
unset($sql, $rows, $row, $parameters);
|
||||||
|
|
||||||
//get the list of categories
|
//get the list of categories
|
||||||
if (!empty($default_setting_categories)) {
|
if (!empty($default_setting_categories)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue