mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Fix missing form close tag
This commit is contained in:
parent
33835f1506
commit
e5f575dfe8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user