aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewonline.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-01-03 21:15:06 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-01-03 21:15:06 +0000
commitfbef3990e74034f5cf205867a2b37e0e13a98997 (patch)
tree31c792cf5ac6dc817966ba7303ef99bfa110a6b7 /phpBB/viewonline.php
parent6348898fd56a09fce66ff344070a1a8f29d3b098 (diff)
downloadforums-fbef3990e74034f5cf205867a2b37e0e13a98997.tar
forums-fbef3990e74034f5cf205867a2b37e0e13a98997.tar.gz
forums-fbef3990e74034f5cf205867a2b37e0e13a98997.tar.bz2
forums-fbef3990e74034f5cf205867a2b37e0e13a98997.tar.xz
forums-fbef3990e74034f5cf205867a2b37e0e13a98997.zip
#6746
git-svn-id: file:///svn/phpbb/trunk@6838 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r--phpBB/viewonline.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index 588d753b14..f202dceb5b 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -225,21 +225,22 @@ while ($row = $db->sql_fetchrow($result))
switch ($on_page[1])
{
case 'reply':
- $location = sprintf($user->lang['REPLYING_MESSAGE'], $forum_data[$forum_id]);
+ case 'quote':
+ $location = sprintf($user->lang['REPLYING_MESSAGE'], $forum_data[$forum_id]['forum_name']);
break;
default:
- $location = sprintf($user->lang['POSTING_MESSAGE'], $forum_data[$forum_id]);
+ $location = sprintf($user->lang['POSTING_MESSAGE'], $forum_data[$forum_id]['forum_name']);
break;
}
break;
case 'viewtopic':
- $location = sprintf($user->lang['READING_TOPIC'], $forum_data[$forum_id]);
+ $location = sprintf($user->lang['READING_TOPIC'], $forum_data[$forum_id]['forum_name']);
break;
case 'viewforum':
- $location = sprintf($user->lang['READING_FORUM'], $forum_data[$forum_id]);
+ $location = sprintf($user->lang['READING_FORUM'], $forum_data[$forum_id]['forum_name']);
break;
}
}