Skip to content
Snippets Groups Projects
Commit 7db59b2b authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- locale.module:
   + fixed typo: 'return' -> 'print'
parent 4ac70d70
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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";
......
......@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment