* Correct the bad param type.

This commit is contained in:
dingguodong
2021-11-16 10:55:27 +08:00
parent f1454e8400
commit 4e97e695f3
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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()
{
+1 -1
View File
@@ -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)