diff --git a/module/task/control.php b/module/task/control.php index abf87944a1..0b0e6e3e32 100644 --- a/module/task/control.php +++ b/module/task/control.php @@ -227,12 +227,12 @@ class task extends control /* Initialize vars. */ $browseType = strtolower($status); $queryID = ($browseType == 'bysearch') ? (int)$param : 0; - $showSuhosinInfo = false; $project = $this->project->getById($projectID); $allTasks = array(); $editedTasks = array(); $taskIDList = array(); $columns = 13; + $showSuhosinInfo = false; if(!$orderBy) $orderBy = $this->cookie->projectTaskOrder ? $this->cookie->projectTaskOrder : 'status,id_desc'; /* Set project menu. */