From 94922d1c53dd3f8cd4ce4f9aa5d51ddd3dd19447 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Fri, 18 May 2012 14:27:38 +0000 Subject: [PATCH] // Fix little bug with theme installator git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15378 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/themeinstallator/themeinstallator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/themeinstallator/themeinstallator.php b/modules/themeinstallator/themeinstallator.php index 1afb5a702..563359638 100644 --- a/modules/themeinstallator/themeinstallator.php +++ b/modules/themeinstallator/themeinstallator.php @@ -860,7 +860,7 @@ class ThemeInstallator extends Module $this->_html .= '
- '; + '; $this->_html .= ''; $this->_html .= '
 
'; @@ -1469,7 +1469,7 @@ class ThemeInstallator extends Module var select_default = "'.$this->l('Choose a theme').'"; var themes = Array(); var themes_id = Array(); - var theme_selected = '.Tools::getValue('id_theme').'; + var theme_selected = '.(Tools::getValue('id_theme')-1).'; '; $id = 0; foreach ($this->theme_list as $row)