Skip to content

Commit

Permalink
Suppress PHP Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alex4108 committed Feb 14, 2021
1 parent 3eb8ad1 commit ae2d2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
$width = null;
$height = null;
$foundStream = false;
if ($streamData != null) {
if ($streamData != null && $streamData != "" && property_exists($streamData, 'live')) {
foreach($streamData->live as $k => $stream) {
if ($k == $streamTag) {
$width = $stream->publisher->video->width;
Expand Down

0 comments on commit ae2d2a4

Please sign in to comment.