diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-01 17:48:35 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-01 17:48:35 +0200 |
commit | 8f04bf37939db43ee0e88503be41ee6243621a0c (patch) | |
tree | 4df64820e09e63c72ef127134472aadca63b86c7 /lib | |
parent | 96bf7f5513616d0320c96911eedd5d0d7b606ab2 (diff) | |
download | nextcloud-server-8f04bf37939db43ee0e88503be41ee6243621a0c.tar.gz nextcloud-server-8f04bf37939db43ee0e88503be41ee6243621a0c.zip |
Backport of share id as string fix
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/share/share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 3dcfa14079b..d6bcbf902d5 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -2477,7 +2477,7 @@ class Share extends Constants { } 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; } |