From da39b74ee8f10b2c1cdcb988b04847c7cf844b77 Mon Sep 17 00:00:00 2001 From: Sebijk Date: Fri, 13 Oct 2023 21:42:59 +0200 Subject: [PATCH] php 8 fix from mbuchalik fork --- src/serverlib/user.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serverlib/user.class.php b/src/serverlib/user.class.php index 427ed0b..f62a714 100644 --- a/src/serverlib/user.class.php +++ b/src/serverlib/user.class.php @@ -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=?'