From 7234e9997de6ddac2a7599b3613aa684e1ed95ac Mon Sep 17 00:00:00 2001 From: daitingting Date: Wed, 6 Mar 2024 05:45:34 +0000 Subject: [PATCH] * Fix bug #46615. --- module/product/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/control.php b/module/product/control.php index 7a70e64666..e9ee1ae53b 100755 --- a/module/product/control.php +++ b/module/product/control.php @@ -77,7 +77,7 @@ class product extends control public function project(string $status = 'all', int $productID = 0, string $branch = '', string $involved = '0', string $orderBy = 'order_desc', int $recTotal = 0, int $recPerPage = 20, int $pageID = 1) { if(!$involved) $involved = $this->cookie->involved; - if($branch === '') $branch = 'all'; + if($branch === '') $branch = 0; $this->productZen->setProjectMenu($productID, $branch, (string)$this->cookie->preBranch); /* Load pager. */