fixed some PHP notices
This commit is contained in:
parent
bbafd62e79
commit
28652b4dc0
|
@ -50,8 +50,8 @@ $scope = 'domain';
|
||||||
// copy HTTP-GET variables to HTTP-POST
|
// copy HTTP-GET variables to HTTP-POST
|
||||||
$_POST = $_POST + $_GET;
|
$_POST = $_POST + $_GET;
|
||||||
|
|
||||||
$info = $_SESSION[$scope . 'info'];
|
if (isset($_SESSION[$scope . 'info'])) $info = $_SESSION[$scope . 'info'];
|
||||||
$units = $_SESSION[$scope . '_units'];
|
if (isset($_SESSION[$scope . '_units'])) $units = $_SESSION[$scope . '_units'];
|
||||||
|
|
||||||
// check if button was pressed and if we have to add/delete a domain
|
// check if button was pressed and if we have to add/delete a domain
|
||||||
if (isset($_POST['new']) || isset($_POST['del'])){
|
if (isset($_POST['new']) || isset($_POST['del'])){
|
||||||
|
|
|
@ -54,8 +54,8 @@ $scope = 'group';
|
||||||
// copy HTTP-GET variables to HTTP-POST
|
// copy HTTP-GET variables to HTTP-POST
|
||||||
$_POST = $_POST + $_GET;
|
$_POST = $_POST + $_GET;
|
||||||
|
|
||||||
$info = $_SESSION[$scope . 'info'];
|
if (isset($_SESSION[$scope . 'info'])) $info = $_SESSION[$scope . 'info'];
|
||||||
$units = $_SESSION[$scope . '_units'];
|
if (isset($_SESSION[$scope . '_units'])) $units = $_SESSION[$scope . '_units'];
|
||||||
|
|
||||||
listDoPost($scope);
|
listDoPost($scope);
|
||||||
|
|
||||||
|
|
|
@ -54,8 +54,8 @@ $scope = 'host';
|
||||||
// copy HTTP-GET variables to HTTP-POST
|
// copy HTTP-GET variables to HTTP-POST
|
||||||
$_POST = $_POST + $_GET;
|
$_POST = $_POST + $_GET;
|
||||||
|
|
||||||
$info = $_SESSION[$scope . 'info'];
|
if (isset($_SESSION[$scope . 'info'])) $info = $_SESSION[$scope . 'info'];
|
||||||
$units = $_SESSION[$scope . '_units'];
|
if (isset($_SESSION[$scope . '_units'])) $units = $_SESSION[$scope . '_units'];
|
||||||
|
|
||||||
listDoPost($scope);
|
listDoPost($scope);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue