diff --git a/module/execution/control.php b/module/execution/control.php index 68cb67d055..38190ff14f 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2103,7 +2103,8 @@ class execution extends control $allProjects = $this->project->getPairsByModel('all', 'noclosed', isset($projectID) ? $projectID : 0); } - if(!$this->post->executionIDList) return print(js::locate($this->session->executionList, 'parent')); + if(!$this->post->executionIDList) return $this->locate($this->session->executionList); + $executionIDList = $this->post->executionIDList; $executions = $this->dao->select('*')->from(TABLE_EXECUTION)->where('id')->in($executionIDList)->fetchAll('id'); $projects = $this->dao->select('id,project')->from(TABLE_PROJECT)->where('id')->in($executionIDList)->fetchPairs(); diff --git a/module/execution/ui/batchedit.html.php b/module/execution/ui/batchedit.html.php index e3493bbc05..14513e1832 100644 --- a/module/execution/ui/batchedit.html.php +++ b/module/execution/ui/batchedit.html.php @@ -5,7 +5,7 @@ declare(strict_types=1); * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net) * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html) * @author Sun Guangming - * @package execution + * @package execution * @link https://www.zentao.net */ namespace zin;