fix #2128
Merge pull request #2130 from owncloud/fix_2128

fix #2128