From 12a18d98cb4f359ad91bcefaec93237d5a9dd045 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Sun, 15 May 2011 21:17:29 +0000 Subject: [PATCH] Slap me with a large trout --- bureau/class/m_authip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/class/m_authip.php b/bureau/class/m_authip.php index 2572a9b8..c0b49fe8 100644 --- a/bureau/class/m_authip.php +++ b/bureau/class/m_authip.php @@ -141,7 +141,7 @@ class m_authip { * @return boolean Retourne TRUE */ function alternc_del_member() { - global $cuid; + global $cuid,$db; $db->query("SELECT id FROM authorised_ip WHERE uid ='$cuid';"); while ($db->next_record()) { $this->ip_delete($db->f('id'));