summaryrefslogtreecommitdiff
path: root/modules/comment/tests/Comment_Model_Test.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2010-01-23 15:46:01 -0800
committerAndy Staudacher <andy.st@gmail.com>2010-01-23 15:46:01 -0800
commitc9b775c21abdf157b635ee023100f25488b89a03 (patch)
treec3576285c22034e35417d2b2fdfda6a196688dae /modules/comment/tests/Comment_Model_Test.php
parenta1a3d4f59568dc7de2b309796752a49242fde6f0 (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 'modules/comment/tests/Comment_Model_Test.php')
0 files changed, 0 insertions, 0 deletions