From 4e24558f9fa402eaa640587b0a51a0bc80e82d7e Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 28 Apr 2022 11:54:21 +0800 Subject: [PATCH] * code for bug #15815. --- module/doc/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/model.php b/module/doc/model.php index c2a24bd161..76a9a7362f 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -90,7 +90,7 @@ class docModel extends model $projects = $this->loadModel('project')->getPairsByProgram(); $executions = $this->loadModel('execution')->getPairs(); $waterfalls = array(); - if($type == 'all' or $type == 'execution') + if(empty($objectID) and ($type == 'all' or $type == 'execution')) { $waterfalls = $this->dao->select('t1.id,t2.name')->from(TABLE_EXECUTION)->alias('t1') ->leftJoin(TABLE_PROJECT)->alias('t2')->on('t1.project=t2.id')