* [bug#69284,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2026-01-21 11:50:49 +00:00
parent 4fbdd554ad
commit e01ee2c816
+1 -1
View File
@@ -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;
}