Fix type of alert when invalid promo
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 22 Jun 2010 21:11:09 +0000 (23:11 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 22 Jun 2010 22:00:38 +0000 (00:00 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
modules/lists.php

index 954ecdd..1ebf75f 100644 (file)
@@ -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.");
             }
         }