From 7be6ecba56738283d74ceecd64f81e0670f89037 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Tue, 22 Jun 2010 23:11:09 +0200 Subject: [PATCH] Fix type of alert when invalid promo MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- modules/lists.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); } } -- 2.1.4