* Fix bug.

This commit is contained in:
leiyong
2021-04-01 09:57:12 +03:00
parent b24b6a2744
commit abd8af87a6
15 changed files with 31 additions and 15 deletions
+2 -1
View File
@@ -1728,7 +1728,8 @@ class execution extends control
*/
public function view($executionID)
{
$execution = $this->execution->getById($executionID, true);
$executionID = (int)$executionID;
$execution = $this->execution->getById($executionID, true);
if(empty($execution) || strpos('stage,sprint', $execution->type) === false) die(js::error($this->lang->notFound) . js::locate('back'));
$this->app->loadLang('program');