From a98432e9580d40a9a00430cd2799218bc9c2fed0 Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Wed, 10 Mar 2021 09:29:05 +0800 Subject: [PATCH] * Finish task #36496. --- module/project/control.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/module/project/control.php b/module/project/control.php index 83df035d40..a3573de746 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -587,7 +587,8 @@ class project extends control */ public function dynamic($projectID = 0, $type = 'today', $param = '', $recTotal = 0, $date = '', $direction = 'next') { - @ini_set('memory_limit', '2048M'); + $this->lang->noMenuModule[] = 'project'; + /* Save session. */ $uri = $this->app->getURI(true); $this->session->set('productList', $uri); @@ -630,14 +631,14 @@ class project extends control $this->view->accountPairs = $this->loadModel('user')->getPairs('noletter|nodeleted'); /* Assign. */ - $this->view->projectID = $projectID; - $this->view->type = $type; - $this->view->orderBy = $orderBy; - $this->view->pager = $pager; - $this->view->account = $account; - $this->view->param = $param; - $this->view->dateGroups = $this->action->buildDateGroup($actions, $direction, $type); - $this->view->direction = $direction; + $this->view->projectID = $projectID; + $this->view->type = $type; + $this->view->orderBy = $orderBy; + $this->view->pager = $pager; + $this->view->account = $account; + $this->view->param = $param; + $this->view->dateGroups = $this->action->buildDateGroup($actions, $direction, $type); + $this->view->direction = $direction; $this->display(); }