X-Git-Url: https://git.treefish.org/banana.git/blobdiff_plain/8db41c98817b1b48532dc3cebf4bea166e42bb70..da4d58fd2fe170781a7810fb5265b4744ce636ed:/admin/sessions.php diff --git a/admin/sessions.php b/admin/sessions.php index a04f485..f8153ba 100644 --- a/admin/sessions.php +++ b/admin/sessions.php @@ -8,7 +8,7 @@ block("lightgreen", "added session"); } - if($_GET['delete']!="") { + if(isset($_GET['delete'])) { $db->query("DELETE FROM sessions WHERE id=" . $_GET['delete']); block("red", "deleted session"); } @@ -31,6 +31,11 @@ ";