Slap me with a large trout

This commit is contained in:
Alan Garcia 2011-05-15 21:17:29 +00:00
parent 4e182e2e30
commit 12a18d98cb
1 changed files with 1 additions and 1 deletions

View File

@ -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'));