X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fevents.php;h=75ef0b2f55d54b219d0c74fe9327e1ed5075bee7;hb=eb0dd7adf65fadbee6521766fadf5a3ff8cec25e;hp=33361c0bfd72f0b4ec8c4badb2c592256e3c8560;hpb=0279e18dfb71a1890a8e00a20771f767fadf7a0b;p=platal.git diff --git a/modules/events.php b/modules/events.php index 33361c0..75ef0b2 100644 --- a/modules/events.php +++ b/modules/events.php @@ -392,7 +392,7 @@ class EventsModule extends PLModule WHERE id = {?}', Post::v('titre'), Post::v('texte'), Post::v('peremption'), Post::v('promo_min'), Post::v('promo_max'), - $flags->flags(), $eid); + $flags, $eid); if ($upload->exists() && list($x, $y, $type) = $upload->imageInfo()) { XDB::execute('REPLACE INTO evenements_photo SET eid = {?}, attachmime = {?}, x = {?}, y = {?}, attach = {?}',