mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Sort objects before storing
This commit is contained in:
parent
964ff45a41
commit
cea4e4e98e
1 changed files with 1 additions and 0 deletions
|
@ -502,6 +502,7 @@ class App {
|
|||
if ($plugin) {
|
||||
return $objects;
|
||||
}
|
||||
sort($objects);
|
||||
self::$__objects[$cacheLocation][$name] = $objects;
|
||||
self::$_objectCacheChange = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue