diff options
author | Andy Staudacher <andy.st@gmail.com> | 2010-01-23 15:46:01 -0800 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2010-01-23 15:46:01 -0800 |
commit | c9b775c21abdf157b635ee023100f25488b89a03 (patch) | |
tree | c3576285c22034e35417d2b2fdfda6a196688dae /lib/swfobject.js | |
parent | a1a3d4f59568dc7de2b309796752a49242fde6f0 (diff) |
Fix for bug 984, consistently interpret installed / available locales as array.
On the current hostgater setup (PHP 5.2.12), locales::available() was returning an array and isset($locales->$code) would always (silently) return false.
Choosing array over stdClass since count($someStdClass) will always return 1, and not the number of object members.
Diffstat (limited to 'lib/swfobject.js')
0 files changed, 0 insertions, 0 deletions