Fixed a bug on the epgs page

This commit is contained in:
Divarion-D
2025-08-08 22:08:09 +03:00
parent c9c77ec438
commit ea41309bdb
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ include 'header.php';
<td><?php echo parse_url($rEPG['epg_file'])['host']; ?></td>
<td class="text-center"><button type="button" class="btn btn-light btn-xs waves-effect waves-light btn-fixed-min"><?php echo $rEPG['days_keep']; ?></button></td>
<td class="text-center"><?php echo $rEPG['last_updated'] ? date('Y-m-d H:i', $rEPG['last_updated']) : $_['never']; ?></td>
<td class="text-center"><button type="button" class="btn btn-light btn-xs waves-effect waves-light btn-fixed-min"><?php echo number_format(count(json_decode($rEPG['data'], true)), 0); ?></button></td>
<td class="text-center"><button type="button" class="btn btn-light btn-xs waves-effect waves-light btn-fixed-min"><?php echo number_format(count(json_decode($rEPG['data'] ?? '[]', true) ?? []), 0); ?></button></td>
<td class="text-center">
<?php if (hasPermissions('adv', 'epg_edit')) { ?>
<div class="btn-group">