Skip to content
Browse files

Sort objects before storing

  • Loading branch information...
1 parent 964ff45 commit cea4e4e98ef123d44f35cbd6442607c8c93365ee @ceeram ceeram committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Core/App.php
View
1 lib/Cake/Core/App.php
@@ -502,6 +502,7 @@ public static function objects($type, $path = null, $cache = true) {
if ($plugin) {
return $objects;
}
+ sort($objects);
self::$__objects[$cacheLocation][$name] = $objects;
self::$_objectCacheChange = true;
}

0 comments on commit cea4e4e

Please sign in to comment.
Something went wrong with that request. Please try again.