[-] BO : #PSCFV-2851 : fix bug when export a theme

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16085 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre committed 2012-06-19 15:36:42 +00:00
1 parent 9357b43172
commit 24c58e35ed
1 file changed
+1 -1
@@ -1504,7 +1504,7 @@ class ThemeInstallator extends Module
$id = 0; $id = 0;
foreach ($this->theme_list as $row) foreach ($this->theme_list as $row)
{ {
if (!is_dir(_PS_ALL_THEMES_DIR_.$row) || !file_exists(_PS_ALL_THEMES_DIR_.$row.'/index.tpl') || $row == $this->default_theme || $row == Tools::getValue('mainTheme')) if (!is_dir(_PS_ALL_THEMES_DIR_.$row) || !file_exists(_PS_ALL_THEMES_DIR_.$row.'/index.tpl'))
continue; continue;
$this->_html .= 'themes['.$id.'] = "'.$row.'";'; $this->_html .= 'themes['.$id.'] = "'.$row.'";';