diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-03-28 07:03:47 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-03-28 07:03:47 +0000 |
commit | 3f2b0e0b3f0322dac929bb997a331cb7c021f295 (patch) | |
tree | 01940cabb5f1b50c16822e8585092ab9cee543ce /account.php | |
parent | 6bb49b4bb8d7c73e1cce62e27375559b9837b898 (diff) | |
download | brdo-3f2b0e0b3f0322dac929bb997a331cb7c021f295.tar.gz brdo-3f2b0e0b3f0322dac929bb997a331cb7c021f295.tar.bz2 |
Flushing my backlog (in case Natrak wants to make more changes):
- tidied up some of the code
- fixed a small problems
Diffstat (limited to 'account.php')
-rw-r--r-- | account.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/account.php b/account.php index 3810aca05..709ebc0af 100644 --- a/account.php +++ b/account.php @@ -226,8 +226,8 @@ function account_user($uname) { function module($name, $module, $username) { global $theme; - if ($module["account"] && $block = $module["account"]($username, "account", "view")) { - if ($block["content"]) $theme->box($block["subject"], $block["content"]); + if ($module[account] && $block = $module[account]($username, "account", "view")) { + if ($block[content]) $theme->box($block[subject], $block[content]); } } |