From e26ee662efceb27ca5725c2b99fd0e4c5590e570 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Tue, 22 May 2012 12:45:55 +0000 Subject: [PATCH] [-] BO : fix #PSCFV-2480 : fix translations git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15617 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminTranslationsController.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/controllers/admin/AdminTranslationsController.php b/controllers/admin/AdminTranslationsController.php index b18b0159a..39daa03dc 100644 --- a/controllers/admin/AdminTranslationsController.php +++ b/controllers/admin/AdminTranslationsController.php @@ -784,9 +784,7 @@ class AdminTranslationsControllerCore extends AdminController break; case 'fields': - $directories['php'] = array( - _PS_CLASS_DIR_.'/' => scandir(_PS_CLASS_DIR_) - ); + $directories['php'] = $this->listFiles(_PS_CLASS_DIR_, array(), 'php'); break; case 'pdf':