I managed to provoke this error:

http://emberapp.com/mikl/images/admin-language-error

It seems to be because I have the admin language variable set to a language that's not currently available.

I'll just throw together a patch to prevent this issue :)

CommentFileSizeAuthor
#1 2009-10-29-currently-array.patch2.41 KBmikl
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikl’s picture

Status: Active » Needs review
FileSize
2.41 KB

It also occurs when the admin_language is not set and the english language is not enabled.

Anyway, here's a patch for it.

I also threw in the missing return value from admin_language_update_6101()
that caused the error messages mentioned in #617040: Enable language for admins only?.

wulff’s picture

Status: Needs review » Fixed

Patch looks good. I'll include it in the next release of the module.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.