fixed error while creating shipping note for e-shop order
This commit is contained in:
@@ -63,7 +63,7 @@ class WarehouseEShopOrderController extends TTCrud {
|
||||
}
|
||||
|
||||
protected function createShippingNote() {
|
||||
$id = $this->request->id;
|
||||
$id = intval($this->request->id);
|
||||
if (!$id) {
|
||||
self::returnJson(['success' => false, 'message' => 'Keine ID angegeben']);
|
||||
die();
|
||||
|
||||
Reference in New Issue
Block a user