bugfix for oc-236
bugfix for oc-236

sharidas/core,phil-davis/core,michaelletzgus/nextcloud-server,pmattern/server,pixelipo/server,Ardinis/server,Ardinis/server,cernbox/core,IljaN/core,lrytz/core,andreas-p/nextcloud-server,michaelletzgus/nextcloud-server,nextcloud/server,pmattern/server,pollopolea/core,pixelipo/server,jbicha/server,cernbox/core,nextcloud/server,pmattern/server,IljaN/core,pixelipo/server,pollopolea/core,xx621998xx/server,jbicha/server,IljaN/core,pixelipo/server,nextcloud/server,lrytz/core,endsguy/server,Ardinis/server,owncloud/core,nextcloud/server,endsguy/server,lrytz/core,pollopolea/core,bluelml/core,pollopolea/core,owncloud/core,bluelml/core,bluelml/core,sharidas/core,bluelml/core,xx621998xx/server,xx621998xx/server,pmattern/server,whitekiba/server,lrytz/core,jbicha/server,bluelml/core,andreas-p/nextcloud-server,xx621998xx/server,andreas-p/nextcloud-server,cernbox/core,owncloud/core,Ardinis/server,michaelletzgus/nextcloud-server,pmattern/server,sharidas/core,whitekiba/server,andreas-p/nextcloud-server,michaelletzgus/nextcloud-server,owncloud/core,xx621998xx/server,cernbox/core,lrytz/core,sharidas/core,whitekiba/server,endsguy/server,endsguy/server,IljaN/core,jbicha/server,jbicha/server,andreas-p/nextcloud-server,pixelipo/server,pollopolea/core,IljaN/core,owncloud/core,endsguy/server,whitekiba/server,Ardinis/server,sharidas/core,cernbox/core,whitekiba/server