From 6c6dc6b94b26cba5656a8068c49f0c0772e920e9 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 --- 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)