// temporary fix for themeinstallator module

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11881 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2011-12-29 10:04:23 +00:00
parent 465cc1eb91
commit 0a433901ac
@@ -526,6 +526,8 @@ class ThemeInstallator extends Module
}
$theme = new Theme();
$theme->name = (string)$this->xml['name'];
// temporary fix
$theme->directory = $theme->name;
$theme->add();
if ((int)(Tools::getValue('imagesConfig')) != 3 AND self::updateImages((int)$theme->id))