Rewrite FlagSet in order to run flag operation in constant time.
[platal.git] / include / banana / forum.inc.php
index 89fa0c9..54502e3 100644 (file)
@@ -179,7 +179,7 @@ class ForumsBanana extends Banana
         if (Post::has('action') && Post::has('banananame') && Post::has('bananasig')
                 && Post::has('bananadisplay') && Post::has('bananamail')
                 && Post::has('bananaupdate') && Post::v('action')=="Enregistrer" ) {
-            $flags = new FlagSet();
+            $flags = new PlFlagSet();
             if (Post::b('bananadisplay')) {
                 $flags->addFlag('threads');
             }