// Fix missing Core suffix for some classes / controllers

This commit is contained in:
rMalie
2011-12-05 16:49:05 +00:00
parent 81b04a9d6f
commit ba8c205c33
19 changed files with 22 additions and 23 deletions
@@ -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))