From 0a433901ac2a3b85120681d86eaeee0f2d819852 Mon Sep 17 00:00:00 2001 From: mMarinetti Date: Thu, 29 Dec 2011 10:04:23 +0000 Subject: [PATCH] // temporary fix for themeinstallator module git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11881 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/themeinstallator/themeinstallator.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/themeinstallator/themeinstallator.php b/modules/themeinstallator/themeinstallator.php index d5493fd38..a48c0ac1c 100644 --- a/modules/themeinstallator/themeinstallator.php +++ b/modules/themeinstallator/themeinstallator.php @@ -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))