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