[+] BO: Add a wizard to create and edit your carriers

This commit is contained in:
Rémi Gaillard committed 2013-07-26 18:27:21 +02:00
1 parent 42c5335f27
commit c0cf92cbdf
34 files changed
+2589 -233

No files matched your search

+1 -1
View File
@@ -254,7 +254,7 @@ class OrderCore extends ObjectModel
public function __construct($id = null, $id_lang = null)
{
parent::__construct($id, $id_lang);
$is_admin = (is_object(Context::getContext()->controller) && Context::getContext()->controller->controller_type == 'admin');
if ($this->id_customer && !$is_admin)
{