Skip to content

Commit

Permalink
https://github.com/WWBN/AVideo/issues/6772
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Jun 22, 2022
1 parent a8ae660 commit f79509b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objects/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7077,7 +7077,7 @@ function getStatsNotifications($force_recreate = false, $listItIfIsAdminOrOwner
}
$json = ObjectYPT::getCache($cacheName, 0, true);
}
if (empty($json) || !empty($json->error) || !isset($json->error)) {
if (AVideoPlugin::isEnabledByName('Live') && (empty($json) || !empty($json->error) || !isset($json->error)) ){
//_error_log('getStatsNotifications: 1 ' . json_encode(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)));
$json = Live::getStats();
$json = object_to_array($json);
Expand Down

0 comments on commit f79509b

Please sign in to comment.