// Fix missing Core suffix for some classes / controllers
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10941 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -35,7 +35,7 @@ class PdfOrderReturnControllerCore extends FrontController
|
||||
if (!$this->context->customer->isLogged())
|
||||
Tools::redirect('index.php?controller=authentication&back=order-follow');
|
||||
|
||||
if (isset(Tools::getValue('id_order_return')) && Validate::isUnsignedId(Tools::getValue('id_order_return')))
|
||||
if (Tools::getValue('id_order_return') && Validate::isUnsignedId(Tools::getValue('id_order_return')))
|
||||
$this->orderReturn = new OrderReturn(Tools::getValue('id_order_return'));
|
||||
|
||||
if (!isset($this->orderReturn) || !Validate::isLoadedObject($this->orderReturn))
|
||||
|
||||
Reference in New Issue
Block a user