fixed some PHP notices

This commit is contained in:
Roland Gruber 2005-11-06 10:26:01 +00:00
parent bbafd62e79
commit 28652b4dc0
3 changed files with 6 additions and 6 deletions

View File

@ -50,8 +50,8 @@ $scope = 'domain';
// copy HTTP-GET variables to HTTP-POST
$_POST = $_POST + $_GET;
$info = $_SESSION[$scope . 'info'];
$units = $_SESSION[$scope . '_units'];
if (isset($_SESSION[$scope . 'info'])) $info = $_SESSION[$scope . 'info'];
if (isset($_SESSION[$scope . '_units'])) $units = $_SESSION[$scope . '_units'];
// check if button was pressed and if we have to add/delete a domain
if (isset($_POST['new']) || isset($_POST['del'])){

View File

@ -54,8 +54,8 @@ $scope = 'group';
// copy HTTP-GET variables to HTTP-POST
$_POST = $_POST + $_GET;
$info = $_SESSION[$scope . 'info'];
$units = $_SESSION[$scope . '_units'];
if (isset($_SESSION[$scope . 'info'])) $info = $_SESSION[$scope . 'info'];
if (isset($_SESSION[$scope . '_units'])) $units = $_SESSION[$scope . '_units'];
listDoPost($scope);

View File

@ -54,8 +54,8 @@ $scope = 'host';
// copy HTTP-GET variables to HTTP-POST
$_POST = $_POST + $_GET;
$info = $_SESSION[$scope . 'info'];
$units = $_SESSION[$scope . '_units'];
if (isset($_SESSION[$scope . 'info'])) $info = $_SESSION[$scope . 'info'];
if (isset($_SESSION[$scope . '_units'])) $units = $_SESSION[$scope . '_units'];
listDoPost($scope);