projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge commit 'origin/master' into hruid
[platal.git]
/
include
/
validations.inc.php
diff --git
a/include/validations.inc.php
b/include/validations.inc.php
index
2f11046
..
d5cd9e0
100644
(file)
--- a/
include/validations.inc.php
+++ b/
include/validations.inc.php
@@
-140,6
+140,8
@@
abstract class Validate
*/
public function clean()
{
+ global $globals;
+
if ($this->unique) {
$success = XDB::execute('DELETE FROM requests WHERE user_id={?} AND type={?}',
$this->uid, $this->type);