Fixes the opening of the comments panel in validations (Closes #1571)
[platal.git] / include / validations.inc.php
index 35746bd..8f5df65 100644 (file)
@@ -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);
     }
 
     // }}}