// Refacto AttachementController
This commit is contained in:
1 parent
ec34ad9328
commit
8d274c9cbf
1 file changed
+1
-1
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
class AttachmentControllerCore extends FrontController
|
class AttachmentControllerCore extends FrontController
|
||||||
{
|
{
|
||||||
public function process()
|
public function postProcess()
|
||||||
{
|
{
|
||||||
$a = new Attachment(Tools::getValue('id_attachment'), $this->context->language->id);
|
$a = new Attachment(Tools::getValue('id_attachment'), $this->context->language->id);
|
||||||
if (!$a->id)
|
if (!$a->id)
|
||||||
|
|||||||
Reference in new issue
Block a user