From 6373bfc4119b68cb661c8d4e418d92d5af7ce1a3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 9 Jan 2011 02:21:46 +0100 Subject: [PATCH] Uses Post dedicated trim function when possible. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- include/validations/listes.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/validations/listes.inc.php b/include/validations/listes.inc.php index b946894..4be1f5e 100644 --- a/include/validations/listes.inc.php +++ b/include/validations/listes.inc.php @@ -82,13 +82,13 @@ class ListeReq extends Validate global $globals; if (Env::has('listname')) { - $this->liste = trim(Env::v('listname')); + $this->liste = Post::t('listname'); } if (Env::has('domainname')) { - $this->domain = trim(Env::v('domainname')); + $this->domain = Post::t('domainname'); } if (Env::has('assotype')) { - $this->asso = trim(Env::v('assotype')); + $this->asso = Post::t('assotype'); } if (!$this->asso) { $this->domain = $globals->mail->domain; -- 2.1.4