owncloud/core — pull request #394 by lmctv (2012-11-13 12:47:17+00:00)
Title: OCP\Share::shareItem does mistakenly refuse sharing items with an existing user.

This does happen for users who didn't login before the item's owner tried to share the item.