[-] BO : #PSTEST-440 - Fixed problem with search
This commit is contained in:
1 parent
5248dd9dfc
commit
b5df607084
1 file changed
+1
-2
@@ -157,12 +157,11 @@ class AdminSearchControllerCore extends AdminController
|
|||||||
$key_match[strtolower($key)] = $key;
|
$key_match[strtolower($key)] = $key;
|
||||||
}
|
}
|
||||||
$this->_list['features'] = array();
|
$this->_list['features'] = array();
|
||||||
|
|
||||||
foreach ($_LANGADM as $key => $value)
|
foreach ($_LANGADM as $key => $value)
|
||||||
{
|
{
|
||||||
if (stripos($value, $this->query) !== false)
|
if (stripos($value, $this->query) !== false)
|
||||||
{
|
{
|
||||||
$key = substr($key, 0, -32);
|
$key = strtolower(substr($key, 0, -32));
|
||||||
if (in_array($key, array('AdminTab', 'index')))
|
if (in_array($key, array('AdminTab', 'index')))
|
||||||
continue;
|
continue;
|
||||||
// if class name doesn't exists, just ignore it
|
// if class name doesn't exists, just ignore it
|
||||||
|
|||||||
Reference in new issue
Block a user