diff --git a/modules/homeslider/ajax_homeslider.php b/modules/homeslider/ajax_homeslider.php index bf449ea66..09d8b42ac 100644 --- a/modules/homeslider/ajax_homeslider.php +++ b/modules/homeslider/ajax_homeslider.php @@ -29,10 +29,10 @@ include_once('../../init.php'); include_once('homeslider.php'); $context = Context::getContext(); -$homeSlider = new HomeSlider(); +$home_slider = new HomeSlider(); $slides = array(); -if (!Tools::isSubmit('secure_key') || Tools::getValue('secure_key') != $homeSlider->secure_key || !Tools::getValue('action')) +if (!Tools::isSubmit('secure_key') || Tools::getValue('secure_key') != $home_slider->secure_key || !Tools::getValue('action')) die(1); if (Tools::getValue('action') == 'updateSlidesPosition' && Tools::getValue('slides')) diff --git a/modules/homeslider/index.php b/modules/homeslider/index.php index e4e05fd52..1fd26998e 100755 --- a/modules/homeslider/index.php +++ b/modules/homeslider/index.php @@ -4,10 +4,10 @@ * * NOTICE OF LICENSE * -* This source file is subject to the Open Software License (OSL 3.0) +* This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: -* http://opensource.org/licenses/osl-3.0.php +* http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. @@ -21,7 +21,7 @@ * @author PrestaShop SA * @copyright 2007-2011 PrestaShop SA * @version Release: $Revision$ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA */