fix: admin dashboard

This commit is contained in:
Floorb 2023-08-08 00:19:55 -04:00
parent ee0ae0cfdc
commit a0ba42e1b5

View file

@ -164,7 +164,7 @@ $is_admin = $current_user->role >= User::ROLE_ADMIN;
</a> </a>
</td> </td>
<td><?= pp_html_escape($p_date_formatted); ?></td> <td><?= pp_html_escape($p_date_formatted); ?></td>
<td><?= pp_html_escape($paste->views); ?></td> <td><?= pp_html_escape($paste->views || 0); ?></td>
</tr> </tr>
<?php } ?> <?php } ?>
</tbody> </tbody>