Fix travis errors in SharingMapper

This commit is contained in:
brantje 2016-10-08 00:04:12 +02:00
parent 1abe75c959
commit 41360eed89
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -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 {