summaryrefslogtreecommitdiff
path: root/account.php
diff options
context:
space:
mode:
Diffstat (limited to 'account.php')
-rw-r--r--account.php4
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]);
}
}