Skip to content

Commit 3074907

Browse files
committed
47479: Videos not playable
1 parent 4fd61a4 commit 3074907

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/ILIAS/MediaCast/classes/class.ilObjMediaCastAccess.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public static function _lookupPublicFiles(int $a_id): bool
134134
$mc_set = $ilDB->query($q);
135135
$mc_rec = $mc_set->fetchRow(ilDBConstants::FETCHMODE_ASSOC);
136136

137-
return (bool) $mc_rec["public_files"];
137+
return (bool) ($mc_rec["public_files"] ?? false);
138138
}
139139

140140
/**

0 commit comments

Comments
 (0)