diff --git a/application/models/Token.php b/application/models/Token.php index 6bc5a2cd3fe..22c5280da01 100644 --- a/application/models/Token.php +++ b/application/models/Token.php @@ -206,7 +206,7 @@ public function generateTokens() { } if($bIsValidToken) { - $itresult = $this->updateByPk($tkrow['tid'], ['token' => $newtoken]); + $itresult = $this->updateByPk($tkrow['tid'], array('token' => $newtoken)); $newtokencount++; } else