We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4469721 + e5f575d commit 33f9308Copy full SHA for 33f9308
1 file changed
system/Honeypot/Honeypot.php
@@ -1,6 +1,4 @@
1
<?php
2
-
3
4
/**
5
* CodeIgniter
6
*
@@ -107,7 +105,7 @@ public function attachHoneypot(ResponseInterface $response)
107
105
$prep_field = $this->prepareTemplate($this->config->template);
108
106
109
$body = $response->getBody();
110
- $body = str_ireplace('</form>', $prep_field, $body);
+ $body = str_ireplace('</form>', $prep_field . '</form>', $body);
111
$response->setBody($body);
112
}
113
0 commit comments