Rewrite FlagSet in order to run flag operation in constant time.
[platal.git] / modules / payment / money.inc.php
index 65cdf6a..c38d1c3 100644 (file)
@@ -49,7 +49,7 @@ class Payment
 
         $this->montant_min = (float)$this->montant_min;
         $this->montant_max = (float)$this->montant_max;
-        $this->flags       = new Flagset($flags);
+        $this->flags       = new PlFlagSet($flags);
     }
 
     // }}}