Remove call-time pass-by-reference code which produces fatal error with PHP>=5.4
[platal.git] / include / mailinglist.inc.php
index c8ceca2..155275d 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2011 Polytechnique.org                              *
+ *  Copyright (C) 2003-2013 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -210,7 +210,7 @@ class MailingList
      */
     public function setBogoLevel($level)
     {
-        return $this->mmclient->set_bogo_level($this->mbox);
+        return $this->mmclient->set_bogo_level($this->mbox, $level);
     }
 
     /** Get antispam level.