X-Git-Url: http://git.treefish.org/banana.git/blobdiff_plain/8db41c98817b1b48532dc3cebf4bea166e42bb70..a4f105d41d06053ff3a7b52572bd818b1a027149:/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 @@ ";