projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NL bounces: add AutoRe pattern in Out-of-Office detection
[platal.git]
/
include
/
validations.inc.php
diff --git
a/include/validations.inc.php
b/include/validations.inc.php
index
35746bd
..
390e81b
100644
(file)
--- a/
include/validations.inc.php
+++ b/
include/validations.inc.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-201
1
Polytechnique.org *
+ * Copyright (C) 2003-201
3
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-390,7
+390,7
@@
abstract class Validate
public function id()
{
public function id()
{
- return
$this->user->id() . '_' . $this->type . '_' . $this->stamp
;
+ return
str_replace(" ", "_", $this->user->id() . '_' . $this->type . '_' . $this->stamp)
;
}
// }}}
}
// }}}