diff --git a/module/branch/model.php b/module/branch/model.php index a1a84fd325..fb4b2c5d06 100644 --- a/module/branch/model.php +++ b/module/branch/model.php @@ -22,6 +22,7 @@ class branchModel extends model */ public function getById($branchID, $productID = 0, $field = 'name') { + if($branchID == 'all') return false; if(empty($branchID)) { if(empty($productID)) $productID = $this->session->product;