mirror of
https://github.com/nextcloud/passman.git
synced 2026-01-09 00:55:23 +08:00
Fix travis errors in SharingMapper
This commit is contained in:
parent
1abe75c959
commit
41360eed89
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ class SharingACLMapper extends Mapper {
|
|||
public function getItemACL($user_id, $item_guid) {
|
||||
$q = "SELECT * FROM " . self::TABLE_NAME . " WHERE item_guid = ? AND ";
|
||||
$filter = [$item_guid];
|
||||
if ($user_id == null){
|
||||
if ($user_id === null){
|
||||
$q .= 'user_id is null';
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue