diff --git a/framework/base/helper.class.php b/framework/base/helper.class.php index 3f99d0be2e..cd820f6afb 100644 --- a/framework/base/helper.class.php +++ b/framework/base/helper.class.php @@ -512,7 +512,7 @@ class baseHelper * Get now time use the DT_DATETIME1 constant defined in the lang file. * * @access public - * @return datetime now + * @return string now */ static public function now() { @@ -524,7 +524,7 @@ class baseHelper * Get today according to the DT_DATE1 constant defined in the lang file. * * @access public - * @return date today + * @return string today */ static public function today() { @@ -536,7 +536,7 @@ class baseHelper * Get now time use the DT_TIME1 constant defined in the lang file. * * @access public - * @return date today + * @return string today */ static public function time() { diff --git a/module/mr/model.php b/module/mr/model.php index 8b4d797b35..7721a71e33 100644 --- a/module/mr/model.php +++ b/module/mr/model.php @@ -871,7 +871,7 @@ class mrModel extends model */ public function saveBug($repoID, $file, $v1, $v2) { - $now = (string) helper::now(); + $now = helper::now(); $data = fixer::input('post') ->add('severity', 3) ->add('openedBy', $this->app->user->account)