Random Group fixes

This commit is contained in:
Michał Gdula 2022-09-25 12:01:23 +00:00
parent 8ecd3f5921
commit d8f2166a1f
8 changed files with 151 additions and 36 deletions

View file

@ -11,12 +11,13 @@
<?php
require_once __DIR__."/assets/ui/nav.php";
if ($_GET['del']) {
if (isset($_SESSION['del'])) {
?>
<script>
sniffleAdd("Image Deleted", "Successfully deleted image: <?php echo $_GET['id']; ?>", "var(--green)", "assets/icons/trash.svg");
sniffleAdd("Image Deleted", "Successfully deleted image: <?php echo $_SESSION['del']; ?>", "var(--green)", "assets/icons/trash.svg");
</script>
<?php
unset($_SESSION['del']);
}
?>