Fix fatal error when trying to open a non existing public link
Merge pull request #5824 from owncloud/fix-publicshare-non-existing

Fix fatal error when trying to open a non existing public link