php 8 fix from mbuchalik fork

This commit is contained in:
Sebijk 2023-10-13 21:42:59 +02:00
parent f3b00829ed
commit da39b74ee8

View file

@ -2384,7 +2384,7 @@ class BMUser
* @param bool $addressbookNoSpam Mark as NON-spam when sender is in the address book?
* @return bool
*/
public function SetAntispamSettings($active, $action, $unspamMe, $bayesBorder = false, $addressbookNoSpam)
public function SetAntispamSettings($active, $action, $unspamMe, $bayesBorder = false, $addressbookNoSpam = false)
{
global $db;
$db->Query('UPDATE {pre}users SET spamfilter=?, spamaction=?, unspamme=?, addressbook_nospam=?'