summaryrefslogtreecommitdiffstats
path: root/lib/private/Share/Share.php
diff options
context:
space:
mode:
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;
}