diff --git a/webui/group-add.php b/webui/group-add.php index e55ccf071cb2f2fceb229f42a704fced42e5c6b6..76ccb967efdebfdd391b59e1135651aae7b52775 100644 --- a/webui/group-add.php +++ b/webui/group-add.php @@ -74,7 +74,7 @@ if (isset($_POST['frmaction']) && $_POST['frmaction'] == "add") { <?php # Check we have all params -} elseif (isset($_POST['frmaction'] && $_POST['frmaction'] == "add2") { +} elseif (isset($_POST['frmaction']) && $_POST['frmaction'] == "add2") { ?> diff --git a/webui/group-attribute-change.php b/webui/group-attribute-change.php index 6c50ffa283b69b352f1812f0e89b97b72d357122..6008271e981cb3138fb5615a78ae93882abffa53 100644 --- a/webui/group-attribute-change.php +++ b/webui/group-attribute-change.php @@ -36,7 +36,7 @@ printHeader(array( )); # Display change screen -if (isset($_POST['frmaction'] && $_POST['frmaction'] == "change") { +if (isset($_POST['frmaction']) && $_POST['frmaction'] == "change") { # Check an attribute was selected if (isset($_POST['attr_id'])) { # Prepare statement diff --git a/webui/group-attribute-delete.php b/webui/group-attribute-delete.php index 0cc3650bf6bc83b3a21b93fa415d819fc111116f..01810e29506580bd3abfce42e00110bbd9477fef 100644 --- a/webui/group-attribute-delete.php +++ b/webui/group-attribute-delete.php @@ -36,7 +36,7 @@ printHeader(array( # Display delete confirm screen -if (isset($_POST['frmaction'] && $_POST['frmaction'] == "delete") { +if (isset($_POST['frmaction']) && $_POST['frmaction'] == "delete") { # Check a user was selected if (isset($_POST['attr_id'])) { diff --git a/webui/user-attribute-delete.php b/webui/user-attribute-delete.php index 6e31f45cef65c9b0c2b7e867663b184c3c7462f0..de48aa9be2fe23330f9ebeac1cb6014f9ee75e53 100644 --- a/webui/user-attribute-delete.php +++ b/webui/user-attribute-delete.php @@ -69,7 +69,7 @@ if (isset($_POST['frmaction']) && $_POST['frmaction'] == "delete") { } # SQL Updates -} elseif (isset($_POST['frmaction'] && $_POST['frmaction'] == "delete2") { +} elseif (isset($_POST['frmaction']) && $_POST['frmaction'] == "delete2") { ?>