* Fix bug.
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user