* Fix error for Passing null to parameter of type string is deprecated.

This commit is contained in:
wangyidong
2023-08-31 13:58:37 +08:00
parent 3b53903df4
commit a1d2e39356
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -354,7 +354,7 @@ class mailModel extends model
if($this->config->mail->mta == 'smtp') $this->mta->smtpClose();
/* save errors. */
if($this->isError()) $this->app->saveError('E_MAIL', join(' ', $this->errors), __FILE__, __LINE__, true);
if($this->isError()) $this->app->saveError(E_WARNING, join(' ', $this->errors), __FILE__, __LINE__);
$message = ob_get_contents();
ob_end_clean();