Merge branch 'sprint/165_tanghucheng_fixbug' into 'sprint/165_package'
* Fix bug #21164. See merge request easycorp/zentaopms!2549
This commit is contained in:
@@ -248,7 +248,10 @@ class executionModel extends model
|
||||
$executionID = (int)$this->cookie->lastExecution;
|
||||
$executionID = in_array($executionID, array_keys($executions)) ? $executionID : key($executions);
|
||||
}
|
||||
if($executionID == 0 and $this->session->execution == '') $executionID = key($executions);
|
||||
|
||||
if($executionID == 0 and $this->session->execution) $executionID = $this->session->execution;
|
||||
if($executionID == 0) $executionID = key($executions);
|
||||
|
||||
$this->session->set('execution', (int)$executionID, $this->app->tab);
|
||||
|
||||
if(!isset($executions[$executionID]))
|
||||
|
||||
Reference in New Issue
Block a user