diff --git a/modules/locale.module b/modules/locale.module index 221fca57c7b264cfdcdb1bc7d517e131853811fd..43a3abb65f05c5b67f10748cdd4f235441d2472b 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 221fca57c7b264cfdcdb1bc7d517e131853811fd..43a3abb65f05c5b67f10748cdd4f235441d2472b 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";