]> source.dussan.org Git - nextcloud-server.git/commit
ShareByMailProvider: getAccessList: set correct value for 'public' 32631/head
authorAdam Serbinski <adam@serbinski.com>
Thu, 21 Mar 2024 19:26:30 +0000 (15:26 -0400)
committerAdam Serbinski <37986043+ASerbinski@users.noreply.github.com>
Thu, 21 Mar 2024 22:25:31 +0000 (18:25 -0400)
commitf45eb75e3de1d82695f38f49f28e69278b7f9dbb
tree1fa6f11932c0e8c24c19cb695aa3111968d4f741
parent01e32340af1d01ace001e2f3c39f16d9f6cccd6d
ShareByMailProvider: getAccessList: set correct value for 'public'

PDOStatement::rowCount behavior is undefined for SELECT statements
for some database types, therefore manually set the value for 'public'
based on actual results fetched.

Signed-off-by: Adam Serbinski <adam@serbinski.com>
apps/sharebymail/lib/ShareByMailProvider.php