X-Git-Url: http://git.treefish.org/banana.git/blobdiff_plain/8db41c98817b1b48532dc3cebf4bea166e42bb70..209bfef78a9e045e91ae6b77501bf402379c8f00:/admin/sessions.php?ds=inline 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 @@ ";