owncloud/core — pull request #1457 by schiesbn (2013-02-05 11:13:14+00:00)
Title: don't include collections while check if a new share is a reshare or not

Don't include collections while check if a new share is a reshare or not Otherwise the db query will look for the file_source _or_ item_type which can lead to false positives.

@MTGap please also have a look at it.