[-] BO : #PSTEST-440 - Fixed problem with search

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12412 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-01-13 14:22:59 +00:00
parent 0f1405e426
commit 35c50157f5
+1 -2
View File
@@ -157,12 +157,11 @@ class AdminSearchControllerCore extends AdminController
$key_match[strtolower($key)] = $key;
}
$this->_list['features'] = array();
foreach ($_LANGADM as $key => $value)
{
if (stripos($value, $this->query) !== false)
{
$key = substr($key, 0, -32);
$key = strtolower(substr($key, 0, -32));
if (in_array($key, array('AdminTab', 'index')))
continue;
// if class name doesn't exists, just ignore it