Skip to content

Commit

Permalink
Ook checken op id in plaats van barcode bij UpdateOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
parcelpro-kalok committed Jul 25, 2024
1 parent 9f3a9dc commit 5f563cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/Adminhtml/Order/UpdateOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5f563cf

Please sign in to comment.