owncloud/core — pull request #10890 by blizzz (2014-09-05 12:13:32+00:00)
Title: if only one attribute is requested, the returned array has 0 as key inst...

...ead of attribute name. fixes #10888

Due to inconsistent behaviour of in the return values of Access->searchGroups. If want to rework the Access class for 8 and 9 anyway and one part will be taking out search operations. But this needs to go back to stable7, so only a small fix.

See reproduction steps in https://github.com/owncloud/core/issues/10888

The issue was introduced in https://github.com/owncloud/core/commit/441c600c906a2ec55bdab123840be5d1d63bb679 7 days ago

@Xenopathic @MorrisJobke @dupondje @xtruthx or others thx