diff --git a/module/project/control.php b/module/project/control.php index d33691e498..470ef54cd2 100755 --- a/module/project/control.php +++ b/module/project/control.php @@ -1785,7 +1785,7 @@ class project extends control if(dao::isError()) return print(js::error(dao::getError())); - $this->projectZen->responseAfterStart($project, $changes, $postData, $this->post->comment); + $this->projectZen->responseAfterStart($project, $changes, $this->post->comment); return print(js::reload('parent.parent')); } diff --git a/module/project/zen.php b/module/project/zen.php index 9cf5411984..b8606ca076 100644 --- a/module/project/zen.php +++ b/module/project/zen.php @@ -96,7 +96,7 @@ class projectZen extends project { return $postData->add('status', 'doing') ->add('lastEditedBy', $this->app->user->account) - ->add('lastEditedDate', hleper::now()) + ->add('lastEditedDate', helper::now()) ->get(); } @@ -105,9 +105,9 @@ class projectZen extends project * * @param object $project * @access protected - * @return int|object + * @return void */ - protected function buildStartForm(object $project):int|object + protected function buildStartForm(object $project): void { $this->view->title = $this->lang->project->start; $this->view->project = $project; @@ -123,9 +123,9 @@ class projectZen extends project * @param array $changes * @param string $comment * @access protected - * @return int + * @return void */ - protected function responseAfterStart(object $project, array $changes, string $comment): int + protected function responseAfterStart(object $project, array $changes, string $comment): void { if($comment != '' or !empty($changes)) {