From e01ee2c8160e4ba9160eba2ea6071c951dff2f58 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Wed, 21 Jan 2026 11:50:49 +0000 Subject: [PATCH] * [bug#69284,done,0.2h] fix bug. --- module/custom/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/custom/model.php b/module/custom/model.php index 19d4bf18e3..d36ca494f9 100644 --- a/module/custom/model.php +++ b/module/custom/model.php @@ -1230,7 +1230,7 @@ class customModel extends model */ public function hasDeliverableData(): int { - if(in_array($this->config->edition, array('max', 'ipd'))) return (int)$this->dao->select('*')->from(TABLE_DELIVERABLE)->where('deleted')->eq('0')->count(); + if(in_array($this->config->edition, array('max', 'ipd'))) return (int)$this->dao->select('*')->from(TABLE_PROJECTDELIVERABLE)->count(); return 0; }