diff options
Diffstat (limited to 'modules/system/system.tokens.inc')
-rw-r--r-- | modules/system/system.tokens.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.tokens.inc b/modules/system/system.tokens.inc index 6d8912021..e86bf8490 100644 --- a/modules/system/system.tokens.inc +++ b/modules/system/system.tokens.inc @@ -51,7 +51,7 @@ function system_token_info() { $site['url-brief'] = array( 'name' => t("URL (brief)"), 'description' => t("The URL of the site's front page without the protocol."), - ); + ); $site['login-url'] = array( 'name' => t("Login page"), 'description' => t("The URL of the site's login page."), @@ -186,7 +186,7 @@ function system_tokens($type, $tokens, array $data = array(), array $options = a break; case 'url-brief': - $replacements[$original] = preg_replace('!^https?://!', '', url('<front>', $url_options)); + $replacements[$original] = preg_replace('!^https?://!', '', url('<front>', $url_options)); break; case 'login-url': |