X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fpayment%2Fmoney.inc.php;h=a5aae56299fd746ab5cd71ef6d600d7b2cfa23a3;hb=9f97216c33993e507e50ed31e070ce1a1d32cbcf;hp=4a46fc7d5a489f71762e5e574a7dd24a5af879ac;hpb=614199d8cd3b1c99c61de5455beb29ec27495147;p=platal.git diff --git a/modules/payment/money.inc.php b/modules/payment/money.inc.php index 4a46fc7..a5aae56 100644 --- a/modules/payment/money.inc.php +++ b/modules/payment/money.inc.php @@ -1,6 +1,6 @@ money->mpay_def_id : $ref; $res = XDB::query("SELECT id, text, url, flags, mail, montant_min, montant_max, montant_def, asso_id - FROM {$globals->money->mpay_tprefix}paiements WHERE id={?}", $r); + FROM {$globals->money->mpay_tprefix}paiements WHERE id={?}", $r); list($this->id, $this->text, $this->url, $flags, $this->mail, - $this->montant_min, $this->montant_max, $this->montant_def, $this->asso_id) = $res->fetchOneRow(); + $this->montant_min, $this->montant_max, $this->montant_def, $this->asso_id) = $res->fetchOneRow(); $this->montant_min = (float)$this->montant_min; $this->montant_max = (float)$this->montant_max; - $this->flags = new Flagset($flags); + $this->flags = new PlFlagSet($flags); } // }}}