From 2963be50b5f862d9ecf383dc66c0646de3359e95 Mon Sep 17 00:00:00 2001 From: Brice Gelineau Date: Wed, 30 Nov 2011 17:25:56 +0100 Subject: [PATCH] Fixes the opening of the comments panel in validations (Closes #1571) Signed-off-by: Brice Gelineau --- ChangeLog | 3 +++ include/validations.inc.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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); } // }}} -- 2.1.4