// remove unused translations and fix error caused by unused translations

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8643 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-09-19 13:40:44 +00:00
parent 031c450293
commit 155586da90
5 changed files with 94 additions and 723 deletions
+3
View File
@@ -97,6 +97,9 @@ class AdminSearch extends AdminTab
$key = substr($key, 0, -32);
if (in_array($key, array('AdminTab', 'index')))
continue;
// if class name doesn't exists, just ignore it
if (!isset($tabs[$key]))
continue;
if (!isset($matchingResults[$tabs[$key]]))
$matchingResults[$tabs[$key]] = array();
$matchingResults[$tabs[$key]][] = array('tab' => $key, 'value' => $value);