diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-07-29 13:39:50 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-07-29 13:39:50 +0000 |
commit | 7c79d0f860362f44a17fd0ed7aa75e3aa2de1860 (patch) | |
tree | 1029b5ed5fe9afeea274e4f93030e343a5edd45f /phpBB/viewonline.php | |
parent | 8c186d97c6a43f3fb71c2c5acb9fdd08f0c573e2 (diff) | |
download | forums-7c79d0f860362f44a17fd0ed7aa75e3aa2de1860.tar forums-7c79d0f860362f44a17fd0ed7aa75e3aa2de1860.tar.gz forums-7c79d0f860362f44a17fd0ed7aa75e3aa2de1860.tar.bz2 forums-7c79d0f860362f44a17fd0ed7aa75e3aa2de1860.tar.xz forums-7c79d0f860362f44a17fd0ed7aa75e3aa2de1860.zip |
hmm, this seems to be a merge i forgot
git-svn-id: file:///svn/phpbb/trunk@8711 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r-- | phpBB/viewonline.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php index ea9bd3c463..891b7e91e4 100644 --- a/phpBB/viewonline.php +++ b/phpBB/viewonline.php @@ -225,8 +225,9 @@ while ($row = $db->sql_fetchrow($result)) { case 'posting': preg_match('#mode=([a-z]+)#', $row['session_page'], $on_page); + $posting_mode = (!empty($on_page[1])) ? $on_page[1] : ''; - switch ($on_page[1]) + switch ($posting_mode) { case 'reply': case 'quote': |