mirror of
https://github.com/nextcloud/passman.git
synced 2024-09-20 23:06:24 +08:00
Fix travis errors in SharingMapper
This commit is contained in:
parent
1abe75c959
commit
41360eed89
|
@ -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…
Reference in a new issue