aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-01-28 18:47:14 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-01-28 18:47:14 +0000
commite4cdf71b07c83ce55fe9735f4e2c968522e991d7 (patch)
tree762d5bb306485625b5f313ec3dbd6b04f39113c0 /phpBB/viewtopic.php
parent0993bab8ee54090a47da90ea6573bcd0685225bc (diff)
downloadforums-e4cdf71b07c83ce55fe9735f4e2c968522e991d7.tar
forums-e4cdf71b07c83ce55fe9735f4e2c968522e991d7.tar.gz
forums-e4cdf71b07c83ce55fe9735f4e2c968522e991d7.tar.bz2
forums-e4cdf71b07c83ce55fe9735f4e2c968522e991d7.tar.xz
forums-e4cdf71b07c83ce55fe9735f4e2c968522e991d7.zip
Another warning fix ...
git-svn-id: file:///svn/phpbb/trunk@2003 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index c61414df34..54db77006f 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -784,7 +784,7 @@ if( !empty($forum_row['topic_vote']) )
$template->assign_vars(array(
"POLL_QUESTION" => $vote_title,
- "S_HIDDEN_FIELDS" => $s_hidden_fields,
+ "S_HIDDEN_FIELDS" => ( !empty($s_hidden_fields) ) ? $s_hidden_fields : "",
"S_VOTE_ACTION" => append_sid("posting.$phpEx?" . POST_TOPIC_URL . "=$topic_id"))
);