// Fixed #PSTEST-456

This commit is contained in:
bMancone
2012-01-24 17:22:49 +00:00
parent 39fb3fed96
commit 75f104de38
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)