From: Raphaël Barrois Date: Tue, 22 Jun 2010 21:11:09 +0000 (+0200) Subject: Fix type of alert when invalid promo X-Git-Tag: xorg/1.0.0~94 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=7be6ecba56738283d74ceecd64f81e0670f89037;p=platal.git Fix type of alert when invalid promo Signed-off-by: Raphaël Barrois --- diff --git a/modules/lists.php b/modules/lists.php index 954ecdd..1ebf75f 100644 --- a/modules/lists.php +++ b/modules/lists.php @@ -112,7 +112,7 @@ class ListsModule extends PLModule if ($promo >= 1900 and $promo < 2100) { $this->client->subscribe("promo$promo"); } else { - $page->trigSuccess("promo incorrecte, il faut une promo sur 4 chiffres."); + $page->trigError("promo incorrecte, il faut une promo sur 4 chiffres."); } }