// Fixed #PSTEST-456

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12656 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2012-01-24 17:22:49 +00:00
parent de4c0733fb
commit f846de7436
5 changed files with 10 additions and 4 deletions
@@ -1784,7 +1784,7 @@ class AdminTranslationsControllerCore extends AdminController
$count = 0;
$prefix_key = 'PDF';
$tabs_array = array($prefix_key=>array());
$regex = '/self::l\(\''._PS_TRANS_PATTERN_.'\'[\)|\,]/U';
$regex = '/HTMLTemplate.*::l\(\''._PS_TRANS_PATTERN_.'\'[\)|\,]/U';
// need to parse PDF.php in order to find $regex and add this to $tabs_array
// this has to be done for the core class, and eventually for the override
foreach (glob(_PS_CLASS_DIR_.'pdf/'."*.php") as $filename)