Guess what, even more bugs!

This commit is contained in:
Michał Gdula 2022-09-29 15:39:30 +00:00
parent 9212267777
commit 956758fa25
3 changed files with 20 additions and 23 deletions

View file

@ -35,7 +35,7 @@
if ($user_info->is_admin($conn, $_SESSION['id'])) {
$check_sanity = $sanity->get_results();
if (!empty($check_sanity) || isset($check_sanity)) {
if (!empty($check_sanity)) {
?>
<script>
sniffleAdd('Uh oh', 'Website has not passed some Sanity checks, please check your settings for more information', 'var(--warning)', 'assets/icons/warning.svg');