fixed sorting if register_globals was off

This commit is contained in:
Roland Gruber 2003-05-06 15:13:46 +00:00
parent 221bcf0e7f
commit 64e2bb734f
2 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,9 @@ include_once ("../../lib/status.inc");
session_save_path("../../sess");
@session_start();
// get sorting column when register_globals is off
$list = $_GET['list'];
// check if button was pressed and if we have to add/delete a group
if ($_POST['new_group'] || $_POST['del_group']){
// add new group

View File

@ -30,6 +30,9 @@ include_once ("../../lib/status.inc");
session_save_path("../../sess");
@session_start();
// get sorting column when register_globals is off
$list = $_GET['list'];
// check if button was pressed and if we have to add/delete a host
if ($_POST['new_host'] || $_POST['del_host']){
// add new host