diff options
| author | Henry Sudhof <kellanved@phpbb.com> | 2009-06-26 10:26:01 +0000 |
|---|---|---|
| committer | Henry Sudhof <kellanved@phpbb.com> | 2009-06-26 10:26:01 +0000 |
| commit | fa9021c4420d92c73609e11eab8317e637c84639 (patch) | |
| tree | 5508b9a969e1adcf0099de8e096a71e07015f6f5 | |
| parent | 3adaf7534ebb5ab505985723f9a519796467b080 (diff) | |
| download | forums-fa9021c4420d92c73609e11eab8317e637c84639.tar forums-fa9021c4420d92c73609e11eab8317e637c84639.tar.gz forums-fa9021c4420d92c73609e11eab8317e637c84639.tar.bz2 forums-fa9021c4420d92c73609e11eab8317e637c84639.tar.xz forums-fa9021c4420d92c73609e11eab8317e637c84639.zip | |
Thanks NV
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9680 89ea8834-ac86-4346-8a33-228a782c2dd0
| -rw-r--r-- | phpBB/posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index a82854c3a4..9d06ac3e2c 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1257,7 +1257,7 @@ $s_hidden_fields .= '<input type="hidden" name="lastclick" value="' . $current_t $s_hidden_fields .= ($draft_id || isset($_REQUEST['draft_loaded'])) ? '<input type="hidden" name="draft_loaded" value="' . request_var('draft_loaded', $draft_id) . '" />' : ''; // Add the confirm id/code pair to the hidden fields, else an error is displayed on next submit/preview -if ($captcha->is_solved() !== false) +if (isset($captcha) && $captcha->is_solved() !== false) { $s_hidden_fields .= build_hidden_fields($captcha->get_hidden_fields()); } |
