Fix missing form close tag

This commit is contained in:
Jim Parry 2019-09-01 12:05:20 -07:00
parent 33835f1506
commit e5f575dfe8
No known key found for this signature in database
GPG Key ID: 0CE56EB54FE84E85

View File

@ -1,6 +1,4 @@
<?php
/**
* CodeIgniter
*
@ -107,7 +105,7 @@ class Honeypot
$prep_field = $this->prepareTemplate($this->config->template);
$body = $response->getBody();
$body = str_ireplace('</form>', $prep_field, $body);
$body = str_ireplace('</form>', $prep_field . '</form>', $body);
$response->setBody($body);
}