Skip to content
Snippets Groups Projects
Commit ab74dea0 authored by Robert Anderson's avatar Robert Anderson
Browse files

Fixed syntax errors

parent 98b365a9
No related branches found
No related tags found
No related merge requests found
......@@ -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") {
?>
......
......@@ -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
......
......@@ -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'])) {
......
......@@ -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") {
?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment