mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixed failing test
This commit is contained in:
parent
bd53ef01a6
commit
93ba85b8b8
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ class CakeRequest implements ArrayAccess {
|
|||
$override = true;
|
||||
}
|
||||
|
||||
if ($override) {
|
||||
if ($override && !in_array($_ENV['REQUEST_METHOD'], ['POST', 'PUT', 'PATCH', 'DELETE'])) {
|
||||
$this->data = array();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue