// Normalize
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12694 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -48,9 +48,7 @@ class AdminOutstandingControllerCore extends AdminController
|
||||
|
||||
$risks = array();
|
||||
foreach (Risk::getRisks() as $risk)
|
||||
{
|
||||
$risks[$risk->id] = $risk->name;
|
||||
}
|
||||
|
||||
$this->fieldsDisplay = array(
|
||||
'number' => array(
|
||||
@@ -159,7 +157,7 @@ class AdminOutstandingControllerCore extends AdminController
|
||||
*/
|
||||
public function renderView()
|
||||
{
|
||||
$order_invoice = new OrderInvoice((int) Tools::getValue('id_order_invoice'));
|
||||
$order_invoice = new OrderInvoice((int)Tools::getValue('id_order_invoice'));
|
||||
if (!Validate::isLoadedObject($order_invoice))
|
||||
throw new PrestaShopException('object OrderInvoice can\'t be loaded');
|
||||
$order = new Order($order_invoice->id_order);
|
||||
|
||||
Reference in New Issue
Block a user