summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 929644bcb..78eab6609 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -997,14 +997,14 @@ function field_set($string, $name, $value) {
}
function link_page() {
- global $custom_links, $base_url;
+ global $custom_links;
- if (is_array($custom_links)) {
+ if (0 && is_array($custom_links)) {
return $custom_links;
}
else {
$links = module_invoke_all("link", "page");
- array_unshift($links, "<a href=\"$base_url/\" title=\"". t("Return to the main page.") ."\">". t("home") ."</a>");
+ array_unshift($links, l(t("home"), "", array("title" => t("Return to the main page."))));
return $links;
}
}