// Move theme choice from AdminTheme page to Shop page
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7848 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -539,7 +539,7 @@ class ThemeInstallator extends Module
|
||||
$msg .= '<br /><b>'.$this->l('Images have been correctly updated in database').'</b><br />';
|
||||
|
||||
$theme = new Theme();
|
||||
$theme->name = pSQL($this->xml['name']);
|
||||
$theme->name = (string)$this->xml['name'];
|
||||
$theme->add();
|
||||
$this->_msg .= parent::displayConfirmation($msg);
|
||||
$this->_html .= '
|
||||
|
||||
Reference in New Issue
Block a user