// Context part 18

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7723 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-07-25 15:19:39 +00:00
parent 4caa9d2775
commit 9e349dd274
41 changed files with 611 additions and 638 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class AttachmentControllerCore extends FrontController
{
parent::process();
$a = new Attachment((int)(Tools::getValue('id_attachment')), (int)(self::$cookie->id_lang));
$a = new Attachment(Tools::getValue('id_attachment'), $this->context->language->id);
if (!$a->id)
Tools::redirect('index.php');