From 792de8c5371a8976cbb2da59f98572502aee1aa3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 7 Jun 2001 16:28:16 +0000 Subject: - Fixed problem with account.module listings. (Reported by Remco.) --- modules/account.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/account.module b/modules/account.module index 22f3a43f5..27865716b 100644 --- a/modules/account.module +++ b/modules/account.module @@ -229,11 +229,11 @@ function account_query($type = "") { } function account_admin() { - global $op, $edit, $id, $mod, $keys, $order, $name, $type; + global $op, $edit, $id, $mod, $keys, $order, $name, $query; print "access control | account listings | search account | overview | help
"; - $type = $type ? $type : 0; + $query = $query ? $query : 0; $name = $name ? $name : $edit[name]; switch ($op) { @@ -254,7 +254,7 @@ function account_admin() { break; case "Delete account": print status(account_delete($name)); - print account_overview(account_query($type)); + print account_overview(account_query($query)); break; case "Edit account": case "edit": @@ -279,7 +279,7 @@ function account_admin() { print account_view($name); break; default: - print account_overview(account_query($type)); + print account_overview(account_query($query)); } } -- cgit v1.2.3