projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc7d321
)
Uses Post dedicated trim function when possible.
author
Stéphane Jacob
<sj@m4x.org>
Sun, 9 Jan 2011 01:21:46 +0000
(
02:21
+0100)
committer
Stéphane Jacob
<sj@m4x.org>
Sun, 9 Jan 2011 10:17:48 +0000
(11:17 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
include/validations/listes.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/include/validations/listes.inc.php
b/include/validations/listes.inc.php
index
b946894
..
4be1f5e
100644
(file)
--- 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;