diff options
-rw-r--r-- | modules/locale.module | 2 | ||||
-rw-r--r-- | modules/locale/locale.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/locale.module b/modules/locale.module index 221fca57c..43a3abb65 100644 --- a/modules/locale.module +++ b/modules/locale.module @@ -142,7 +142,7 @@ function locale_admin() { global $id, $edit, $op, $lang; if (!variable_get("locale", 0)) { - return status("locale disabled."); + print status("locale disabled."); } else if (user_access("administer locales")) { print "<SMALL>". locale_links(1) . locale_links(0) ."<A HREF=\"admin.php?mod=locale\">overview</A> | <A HREF=\"admin.php?mod=locale&op=help\">help</A></SMALL><HR>\n"; diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 221fca57c..43a3abb65 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -142,7 +142,7 @@ function locale_admin() { global $id, $edit, $op, $lang; if (!variable_get("locale", 0)) { - return status("locale disabled."); + print status("locale disabled."); } else if (user_access("administer locales")) { print "<SMALL>". locale_links(1) . locale_links(0) ."<A HREF=\"admin.php?mod=locale\">overview</A> | <A HREF=\"admin.php?mod=locale&op=help\">help</A></SMALL><HR>\n"; |