[-] BO : Delete backslashes quotes on the BackOffice search

This commit is contained in:
rGaillard
2012-05-25 16:21:03 +00:00
parent c7b2c6c723
commit 45c018ad61
@@ -154,6 +154,7 @@ class AdminSearchControllerCore extends AdminController
}
foreach (AdminTab::$tabParenting as $key => $value)
{
$value = stripslashes($value);
$tabs[strtolower($key)] = $tabs[strtolower($value)];
$key_match[strtolower($key)] = $key;
}
@@ -162,6 +163,7 @@ class AdminSearchControllerCore extends AdminController
{
if (stripos($value, $this->query) !== false)
{
$value = stripslashes($value);
$key = strtolower(substr($key, 0, -32));
if (in_array($key, array('AdminTab', 'index')))
continue;