Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Cast share id to string (#25402) (#25431)
  • Loading branch information
DeepDiver1975 authored and LukasReschke committed Jul 20, 2016
commit 96e2a3a4b27c35beb0ca640ef99a0c0d77b36ea9
2 changes: 1 addition & 1 deletion apps/dav/lib/connector/publicauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ protected function validateUserPass($username, $password) {
}
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;
Expand Down