// Variables name fixed

This commit is contained in:
Francois Gaillard
2013-08-01 19:14:04 +02:00
parent b51d4f4c7d
commit 268b3c6bda
2 changed files with 4 additions and 4 deletions

View File

@@ -64,8 +64,8 @@ abstract class ModuleAdminControllerCore extends AdminController
*/
public function getTemplatePath()
{
if (file_exists(_PS_THEME_DIR_.'modules/'.$this->name.'/views/templates/admin/'.$template))
return _PS_THEME_DIR_.'modules/'.$this->name.'/views/templates/admin/'.$template;
if (file_exists(_PS_THEME_DIR_.'modules/'.$this->module->name.'/views/templates/admin/'.$template))
return _PS_THEME_DIR_.'modules/'.$this->module->name.'/views/templates/admin/'.$template;
return _PS_MODULE_DIR_.$this->module->name.'/views/templates/admin/';
}
}