From: Brice Gelineau Date: Wed, 30 Nov 2011 16:25:56 +0000 (+0100) Subject: Fixes the opening of the comments panel in validations (Closes #1571) X-Git-Tag: xorg/1.1.5~73 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2963be50b5f862d9ecf383dc66c0646de3359e95;p=platal.git Fixes the opening of the comments panel in validations (Closes #1571) Signed-off-by: Brice Gelineau --- diff --git a/ChangeLog b/ChangeLog index cf678cb..d7d6184 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,9 @@ Bug/Wish: * Search: - #1574: Correctly displays State corps -GLN + * Validations: + - #1571: Fixes the opening of the comments panel -GLN + * XnetEvent: - #1577: Fixes alternative payements given by admins -GLN - #1578: Fixes deletion of people inscriptions -GLN diff --git a/include/validations.inc.php b/include/validations.inc.php index 35746bd..8f5df65 100644 --- a/include/validations.inc.php +++ b/include/validations.inc.php @@ -390,7 +390,7 @@ abstract class Validate public function id() { - return $this->user->id() . '_' . $this->type . '_' . $this->stamp; + return str_replace(" ", "_", $this->user->id() . '_' . $this->type . '_' . $this->stamp); } // }}}