summaryrefslogtreecommitdiffstats
path: root/lib/private/Share/Share.php
diff options
context:
space:
mode:
authorTorben Dannhauer <torben@dannhauer.de>2016-05-31 06:53:28 +0200
committerThomas Müller <DeepDiver1975@users.noreply.github.com>2016-05-31 06:53:28 +0200
commit718f0757e497f58ddbd783e69227ce6987dff59f (patch)
treeb467c07995fdbe982e4ff8feae9c9bf11e5f7942 /lib/private/Share/Share.php
parent76c0bc29fe2caaddce4e21b80b51781969287eb9 (diff)
downloadnextcloud-server-718f0757e497f58ddbd783e69227ce6987dff59f.tar.gz
nextcloud-server-718f0757e497f58ddbd783e69227ce6987dff59f.zip
Fix for #23066 (#24689)
Diffstat (limited to 'lib/private/Share/Share.php')
-rw-r--r--lib/private/Share/Share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share/Share.php b/lib/private/Share/Share.php
index b1ad71d347f..bcda779e733 100644
--- a/lib/private/Share/Share.php
+++ b/lib/private/Share/Share.php
@@ -2493,7 +2493,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;
}