mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
fixing use of normalize in RequestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4347 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
f77e642f24
commit
9728ef5ae9
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ class RequestHandlerComponent extends Object {
|
|||
}
|
||||
}
|
||||
|
||||
$types = normalizeList($type, false);
|
||||
$types = Set::normalize($type, false);
|
||||
$accepts = array();
|
||||
foreach ($types as $type) {
|
||||
if ($this->accepts($type)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue