// Code cleaning

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15770 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-05-30 16:18:10 +00:00
parent aac8038dae
commit a6ca0bb1b2
5 changed files with 17 additions and 6 deletions
+2 -2
View File
@@ -394,8 +394,8 @@ class BlockLink extends Module
{
$this->_html .= '
<script type="text/javascript">
var currentUrl = \''.AdminController::$currentIndex.'&configure='.$this->name.'\';
var token=\''.Tools::getValue('token').'\';
var currentUrl = \''.addslashes(AdminController::$currentIndex.'&configure='.$this->name).'\';
var token=\''.addslashes(Tools::getValue('token')).'\';
var links = new Array();';
foreach ($links as $link)
{