From 2eb5a2ede948f35010d912fb517a31c83c326585 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Fri, 13 Jan 2012 14:22:59 +0000 Subject: [PATCH] [-] BO : #PSTEST-440 - Fixed problem with search --- controllers/admin/AdminSearchController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/controllers/admin/AdminSearchController.php b/controllers/admin/AdminSearchController.php index 858963e7f..8d2cba313 100644 --- a/controllers/admin/AdminSearchController.php +++ b/controllers/admin/AdminSearchController.php @@ -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