mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Thanks NV
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9680 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
3adaf7534e
commit
fa9021c442
1 changed files with 1 additions and 1 deletions
|
@ -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) . '" />' : '';
|
$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
|
// 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());
|
$s_hidden_fields .= build_hidden_fields($captcha->get_hidden_fields());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue