diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-06-07 16:28:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-06-07 16:28:16 +0000 |
commit | 792de8c5371a8976cbb2da59f98572502aee1aa3 (patch) | |
tree | 6c1c763e1893f908906a365e729903fbc03ff591 /modules/account.module | |
parent | 28e6fdfbf386d0d3ffd50cc6aa528be8f7875b38 (diff) | |
download | brdo-792de8c5371a8976cbb2da59f98572502aee1aa3.tar.gz brdo-792de8c5371a8976cbb2da59f98572502aee1aa3.tar.bz2 |
- Fixed problem with account.module listings.
(Reported by Remco.)
Diffstat (limited to 'modules/account.module')
-rw-r--r-- | modules/account.module | 8 |
1 files changed, 4 insertions, 4 deletions
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 "<SMALL><A HREF=\"admin.php?mod=account&op=access\">access control</A> | <A HREF=\"admin.php?mod=account&op=listing\">account listings</A> | <A HREF=\"admin.php?mod=account&op=search\">search account</A> | <A HREF=\"admin.php?mod=account\">overview</A> | <A HREF=\"admin.php?mod=account&op=help\">help</A></SMALL><HR>"; - $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)); } } |