diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-15 10:44:18 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-15 10:44:18 -0500 |
commit | 7a4701399412faedd725195f849c18c770a126cb (patch) | |
tree | 237d3dfb6547a9d905befb87020d50749bc5cff5 /phpBB/includes/functions.php | |
parent | 0c56bd45eff15b0bff2672ed08b390d0248625d8 (diff) | |
download | forums-7a4701399412faedd725195f849c18c770a126cb.tar forums-7a4701399412faedd725195f849c18c770a126cb.tar.gz forums-7a4701399412faedd725195f849c18c770a126cb.tar.bz2 forums-7a4701399412faedd725195f849c18c770a126cb.tar.xz forums-7a4701399412faedd725195f849c18c770a126cb.zip |
[ticket/11021] Use L_SITE_HOME instead of L_HOME
Check site home url against !== '', not empty
PHPBB3-11021
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 91e2b1b794..0aa3aa016e 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4935,7 +4935,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0 'L_LOGIN_LOGOUT' => $l_login_logout, 'L_INDEX' => $user->lang['FORUM_INDEX'], - 'L_HOME' => (!empty($config['site_home_text'])) ? $config['site_home_text'] : $user->lang['HOME'], + 'L_SITE_HOME' => ($config['site_home_text'] !== '') ? $config['site_home_text'] : $user->lang['HOME'], 'L_ONLINE_EXPLAIN' => $l_online_time, 'U_PRIVATEMSGS' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'), |