[+] BO: Add a wizard to create and edit your carriers
This commit is contained in:
1 parent
42c5335f27
commit
c0cf92cbdf
34 files changed
+2589
-233
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user