* Replace setcookie function to helper::setcookie.
This commit is contained in:
@@ -284,7 +284,7 @@ class project extends control
|
||||
if(empty($project) || $project->type != 'project') return print(js::error($this->lang->notFound) . js::locate('back'));
|
||||
|
||||
if(!$projectID) $this->locate($this->createLink('project', 'browse'));
|
||||
setCookie("lastProject", strVal($projectID), $this->config->cookieLife, $this->config->webRoot, '', $this->config->cookieSecure, true);
|
||||
helper::setcookie("lastProject", strVal($projectID));
|
||||
|
||||
if($project->model == 'kanban' and $this->config->vision != 'lite')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user