diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-07-20 16:49:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-20 16:49:19 +0200 |
commit | 87eb86902f3928d5c33da6f0a7a5ff7e3fc0f8da (patch) | |
tree | 9fd844519a6bcfe9b6b333d05b76b8635ed7a4db /apps | |
parent | 895655d20a66811cc1665d638fc75643ab421942 (diff) | |
parent | 96e2a3a4b27c35beb0ca640ef99a0c0d77b36ea9 (diff) | |
download | nextcloud-server-87eb86902f3928d5c33da6f0a7a5ff7e3fc0f8da.tar.gz nextcloud-server-87eb86902f3928d5c33da6f0a7a5ff7e3fc0f8da.zip |
Merge pull request #469 from nextcloud/stable9-stringid-fix
[stable9] Cast share id to string (#25402) (#25431)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/connector/publicauth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/connector/publicauth.php b/apps/dav/lib/connector/publicauth.php index f069a214fe8..36da6492fb0 100644 --- a/apps/dav/lib/connector/publicauth.php +++ b/apps/dav/lib/connector/publicauth.php @@ -89,7 +89,7 @@ class PublicAuth extends \Sabre\DAV\Auth\Backend\AbstractBasic { } return true; } else if (\OC::$server->getSession()->exists('public_link_authenticated') - && \OC::$server->getSession()->get('public_link_authenticated') === $linkItem['id']) { + && \OC::$server->getSession()->get('public_link_authenticated') === (string)$linkItem['id']) { return true; } else { return false; |