mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-04 21:03:27 +08:00
thinkphp框架升级
This commit is contained in:
@ -18,7 +18,7 @@ class ValidateException extends \RuntimeException
|
||||
public function __construct($error, $code = 0)
|
||||
{
|
||||
$this->error = $error;
|
||||
$this->message = is_array($error) ? implode("\n\r", $error) : $error;
|
||||
$this->message = is_array($error) ? implode(PHP_EOL, $error) : $error;
|
||||
$this->code = $code;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user