diff --git a/Controller/Adminhtml/Order/UpdateOrder.php b/Controller/Adminhtml/Order/UpdateOrder.php index 288a769..024ef49 100644 --- a/Controller/Adminhtml/Order/UpdateOrder.php +++ b/Controller/Adminhtml/Order/UpdateOrder.php @@ -46,7 +46,7 @@ public function execute() } // Controleren of de zending al is aangemeld. - if ($pp_result && $pp_result["barcode"] != "") { + if ($pp_result && $pp_result['id']) { $this->messageManager->addErrorMessage(__("Actie niet mogelijk: zending al aangemeld.")); $this->_redirect($this->_redirect->getRefererUrl()); return;