--- mailman_manager.module.old	2007-02-25 22:28:49.000000000 +1300
+++ mailman_manager.module	2007-02-25 22:28:55.000000000 +1300
@@ -346,7 +346,7 @@
   $result = db_query($query,$uid,$lid);
   //If there are no entries for this user then set subscriptions to zero;
   //and return no mail button option for display;
-  if (mysql_num_rows($result) == 0) {
+  if (db_num_rows($result) == 0) {
     $query = "INSERT INTO {mailman_users} (uid,lid,lstatus) VALUES (%d, %d, %d)";
     db_query($query,$uid,$lid,0);
     $subscrip = array (
@@ -501,4 +501,4 @@
    return $rand_str;
 }
 
-?>
\ No newline at end of file
+?>
