// 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:
rMalie
2012-01-25 17:26:04 +00:00
parent cd6fa32ec7
commit e47d23bfce
8 changed files with 150 additions and 146 deletions
@@ -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);