projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix UserFilter::DN_SORT -> Profile::DN_SORT.
[platal.git]
/
include
/
validations.inc.php
diff --git
a/include/validations.inc.php
b/include/validations.inc.php
index
b6e8472
..
050318c
100644
(file)
--- a/
include/validations.inc.php
+++ b/
include/validations.inc.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-20
09
Polytechnique.org *
+ * Copyright (C) 2003-20
10
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 *
@@
-85,6
+85,7
@@
abstract class Validate
$this->stamp = date('YmdHis');
$this->unique = $_unique;
$this->type = $_type;
$this->stamp = date('YmdHis');
$this->unique = $_unique;
$this->type = $_type;
+ $this->promo = $this->user->promo();
}
// }}}
}
// }}}
@@
-215,7
+216,7
@@
abstract class Validate
$this->trigSuccess('Email de refus envoyé');
return true;
} else {
$this->trigSuccess('Email de refus envoyé');
return true;
} else {
- $this->trigError('
pas de motivation pour le refus
!!!');
+ $this->trigError('
Pas de motivation pour le refus
!!!');
}
}
}
}