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:
Tim Fry 2025-03-21 13:47:52 -03:00
parent b82d9f17a7
commit 43a2104e5e
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {