delete_user.php
changeset 8 47dd15d8bb8c
parent 3 64525a2eb098
child 13 2ff220cfde13
--- a/delete_user.php	Wed Apr 18 22:48:49 2007 +0000
+++ b/delete_user.php	Sun Apr 22 07:20:09 2007 +0000
@@ -91,7 +91,7 @@
         }
         
         $message = _('You are going to delete this user, are you sure?');
-        if(($numrows = $db->getOne("select count(id) from zones where owner=$id")) != 0)
+        if(($numrows = $db->queryOne("select count(id) from zones where owner=$id")) != 0)
         {
         	$message .= " " . _('This user has access to ') . $numrows . _('domain(s), by deleting him you will also delete these domains');
         }