diff --git a/modules/locale.module b/modules/locale.module index 221fca57c7b2..43a3abb65f05 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 "". locale_links(1) . locale_links(0) ."overview | help
\n"; diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 221fca57c7b2..43a3abb65f05 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 "". locale_links(1) . locale_links(0) ."overview | help
\n";