Skip to content

Commit

Permalink
PHP notice if captcha is shown #960
Browse files Browse the repository at this point in the history
  • Loading branch information
Fasse committed Dec 23, 2020
1 parent ba13298 commit 8ea7229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adm_program/system/classes/HtmlForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public function addCaptcha($id, $class = '')
$this->addHtml('<img id="captcha" src="' . ADMIDIO_URL . FOLDER_LIBS_SERVER . '/securimage/securimage_show.php" alt="CAPTCHA Image" />
<a class="admidio-icon-link" href="javascript:void(0)" onclick="' . $onClickCode . '">
<i class="fas fa-sync-alt fa-lg" data-toggle="tooltip" title="'.$gL10n->get('SYS_RELOAD').'"></i></a>');
$this->closeControlStructure();
$this->closeControlStructure(array('helpTextIdInline' => ''));

// now add a row with a text field where the user can write the solution for the puzzle
$this->addInput(
Expand Down

0 comments on commit 8ea7229

Please sign in to comment.