Browse Source

Sort objects before storing

Ceeram 15 years ago
parent
commit
cea4e4e98e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/Cake/Core/App.php

+ 1 - 0
lib/Cake/Core/App.php

@@ -502,6 +502,7 @@ class App {
 			if ($plugin) {
 				return $objects;
 			}
+			sort($objects);
 			self::$__objects[$cacheLocation][$name] = $objects;
 			self::$_objectCacheChange = true;
 		}