Fixed share with link that doesn't appear

Fixed share with link due to this recent change:
https://github.com/owncloud/core/pull/5441

Please review @VicDeo