From c73143d5b5ffd95ff24c35719e49f30010b1e2f5 Mon Sep 17 00:00:00 2001 From: Marion Muszynski Date: Thu, 9 Mar 2017 11:44:41 +0100 Subject: [PATCH] fix https in skinStatic module --- modules/skinstatic/AdminSkinStatic.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/skinstatic/AdminSkinStatic.php b/modules/skinstatic/AdminSkinStatic.php index 4ad7c54f..d886fbe5 100755 --- a/modules/skinstatic/AdminSkinStatic.php +++ b/modules/skinstatic/AdminSkinStatic.php @@ -4,10 +4,10 @@ if(!defined('_PS_VERSION_')) { } class AdminSkinStatic extends AdminTab { - + public $_html = ''; - public function postProcess() + public function postProcess() { global $cookie; $languages = Language::getLanguages(FALSE); @@ -39,7 +39,7 @@ class AdminSkinStatic extends AdminTab { ')); } - if(isset($_FILES['img_'.(int) $i]) && $_FILES['img_'.(int) $i]['name'] != '') + if(isset($_FILES['img_'.(int) $i]) && $_FILES['img_'.(int) $i]['name'] != '') { if(!copy($_FILES['img_'.(int) $i]['tmp_name'], _PS_ROOT_DIR_.'/themes/site/skinstatic_cache/skin_'.(int) $i.'_'.(int) $id_lang.'.jpg')) { echo '

'.$this->l('An error occured during the image upload.').'

'; @@ -57,8 +57,8 @@ class AdminSkinStatic extends AdminTab { Tools::getValue('right_link_'.(int) $i), Configuration::get('SKINSTATIC_VERSION'), ), - - ''.(Tools::getValue('fixed_'.(int) $i)? ' + + ''.(Tools::getValue('fixed_'.(int) $i)? '