aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-07-23 13:15:08 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-09-15 10:28:37 -0500
commit0c56bd45eff15b0bff2672ed08b390d0248625d8 (patch)
tree27e362c3a59313543f7a088be614eb6776309714 /phpBB/includes/functions.php
parentffe7f76b90bd24c4c2f2c8bf24c34df69f2def52 (diff)
downloadforums-0c56bd45eff15b0bff2672ed08b390d0248625d8.tar
forums-0c56bd45eff15b0bff2672ed08b390d0248625d8.tar.gz
forums-0c56bd45eff15b0bff2672ed08b390d0248625d8.tar.bz2
forums-0c56bd45eff15b0bff2672ed08b390d0248625d8.tar.xz
forums-0c56bd45eff15b0bff2672ed08b390d0248625d8.zip
[ticket/11021] Better language strings for site home url/text
Correct the logo title to be {L_HOME} if {U_HOME} is used. Check if the Home text is instead of just equal to false when outputting it to the template PHPBB3-11021
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index a8d3c25052..91e2b1b794 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' => ($config['site_home_text']) ? $config['site_home_text'] : $user->lang['HOME'],
+ 'L_HOME' => (!empty($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&amp;folder=inbox'),