From 6df3f17c892ae907f0522f94c19ece4baca9ac00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B9=BF=E6=98=8E?= Date: Thu, 29 Dec 2022 14:56:03 +0800 Subject: [PATCH] * Exec for dm db. --- module/branch/model.php | 1 + 1 file changed, 1 insertion(+) 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;