// Context part 18

This commit is contained in:
tDidierjean
2011-07-25 15:19:39 +00:00
parent 9b0b588b09
commit 2c4f27f1be
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');