From 95e36b0fc2897c78e1e3c8c9eb1489b016c5108f Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Tue, 5 Aug 2008 19:49:04 +0200 Subject: [PATCH] Adds a missing global ; --- include/validations.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/validations.inc.php b/include/validations.inc.php index 2f11046..d5cd9e0 100644 --- 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); -- 2.1.4