* Change no data locate.

This commit is contained in:
caoyanyi
2023-08-25 09:44:57 +08:00
parent 11b0293edb
commit 447acf77ac
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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();
+1 -1
View File
@@ -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<sunguangming@easycorp.ltd>
* @package execution
* @package execution
* @link https://www.zentao.net
*/
namespace zin;