horde/horde — pull request #78 by myrho (2014-03-01 22:38:53+00:00)
Title: fixed checking whether array key is set

We need to check whether $native is an array before asking for key's existance. If $native is string, isset($native['...']) will always return true, because it's evaluated as $native[0] which is the first character of the string.