Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
Description
Those 2 functions will return the same thing, the second should return an array of objects
print_r(eZLocale::localeList(false, false)); print_r(eZLocale::localeList(true, false));
It comes from the cache used in this function:
$locales =& $GLOBALS['eZLocaleLocaleStringList']; if ( !is_array( $locales ) ) { // generate $locales }
A quick fix would be to use an hash for this cache that relies on $asObject and $withVariations