* adjust for session file name and fix error.

This commit is contained in:
王怡栋
2021-08-30 14:57:13 +08:00
parent 7b12c9ca2b
commit 7ea86a2161
11 changed files with 39 additions and 19 deletions
+1 -1
View File
@@ -836,7 +836,7 @@ class task extends control
$uri = $this->app->getURI(true);
$this->session->set('estimateList', $uri, 'execution');
if(isonlybody()) $this->session->set('estimateList', $uri . (substr($uri, '?') === false ? '?' : '&') . 'onlybody=yes', 'execution');
if(isonlybody()) $this->session->set('estimateList', $uri . (strpos($uri, '?') === false ? '?' : '&') . 'onlybody=yes', 'execution');
$this->view->task = $this->task->getById($taskID);
$this->view->estimates = $this->task->getTaskEstimate($taskID);