Fix bug oc-413: PHP fatal error in contacts page when no contacts in ownCloud.
Fix bug oc-413: PHP fatal error in contacts page when no contacts in ownCloud.

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