[-] BO : #PSTEST-202 : fixed , the problem was from the adminTranslationController, all the fields were not listed in the fields traduction page

This commit is contained in:
mBertholino
2011-12-28 10:31:07 +00:00
parent 1bf09ed011
commit 1cb5534cdb
3 changed files with 4 additions and 2 deletions
@@ -1128,7 +1128,7 @@ class AdminTranslationsControllerCore extends AdminController
continue;
include_once(_PS_CLASS_DIR_.$classFile);
$prefix_key = substr($classFile, 0, -4);
if (!class_exists($prefix_key, false))
if (!class_exists($prefix_key, false) && !class_exists($prefix_key.'Core', false))
continue;
if (!is_subclass_of($prefix_key, 'ObjectModel'))
continue;