Index: trunk/phase3/languages/Language.php |
— | — | @@ -316,7 +316,12 @@ |
317 | 317 | |
318 | 318 | function getDefaultUserOptionOverrides() { |
319 | 319 | $this->load(); |
320 | | - return $this->defaultUserOptionOverrides; |
| 320 | + # XXX - apparently some languageas get empty arrays, didn't get to it yet -- midom |
| 321 | + if (is_array($this->defaultUserOptionOverrides)) { |
| 322 | + return $this->defaultUserOptionOverrides; |
| 323 | + } else { |
| 324 | + return array(); |
| 325 | + } |
321 | 326 | } |
322 | 327 | |
323 | 328 | function getExtraUserToggles() { |