Skip to content
Snippets Groups Projects
Commit f3bbd848 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

* Removed last occurance of SESSION variable

parent 94c04bee
No related branches found
No related tags found
No related merge requests found
...@@ -95,9 +95,6 @@ if (isset($_POST['frmaction']) && $_POST['frmaction'] == "add") { ...@@ -95,9 +95,6 @@ if (isset($_POST['frmaction']) && $_POST['frmaction'] == "add") {
} else { } else {
$stmt = $db->prepare("INSERT INTO ${DB_TABLE_PREFIX}group_attributes (GroupID,Name,Operator,Value) VALUES (?,?,?,?)"); $stmt = $db->prepare("INSERT INTO ${DB_TABLE_PREFIX}group_attributes (GroupID,Name,Operator,Value) VALUES (?,?,?,?)");
# Which user am I working with?
$attr_group_id = $_SESSION['attr_group_id'];
$res = $stmt->execute(array( $res = $stmt->execute(array(
$attr_group_id, $attr_group_id,
$_POST['attr_name'], $_POST['attr_name'],
......
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