* Correct the bad param type.
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user