projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c56a253
)
Alignment.
author
Stéphane Jacob
<sj@m4x.org>
Sun, 28 Nov 2010 11:23:50 +0000
(12:23 +0100)
committer
Stéphane Jacob
<sj@m4x.org>
Sun, 28 Nov 2010 11:25:20 +0000
(12:25 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/profile/page.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/profile/page.inc.php
b/modules/profile/page.inc.php
index
ec70a0e
..
651bb38
100644
(file)
--- a/
modules/profile/page.inc.php
+++ b/
modules/profile/page.inc.php
@@
-194,7
+194,7
@@
class ProfileSettingDate extends ProfileNoSave
$success = preg_match('@(\d{2})/(\d{2})/(\d{4})@', $value, $matches);
if (!$success) {
Platal::page()->trigError("Les dates doivent être au format jj/mm/aaaa");
- } else {
+
} else {
$day = (int)$matches[1];
$month = (int)$matches[2];
$year = (int)$matches[3];