From f3bbd8481ae645aee9c1384f21c322dfc571ae8a Mon Sep 17 00:00:00 2001
From: Nigel Kukard <nkukard@lbsd.net>
Date: Thu, 30 Apr 2009 10:17:43 +0000
Subject: [PATCH] * Removed last occurance of SESSION variable

---
 webui/group-attribute-add.php | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/webui/group-attribute-add.php b/webui/group-attribute-add.php
index 9920129b..565f9885 100644
--- a/webui/group-attribute-add.php
+++ b/webui/group-attribute-add.php
@@ -95,9 +95,6 @@ if (isset($_POST['frmaction']) && $_POST['frmaction'] == "add") {
 
 	} else {
 		$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(
 			$attr_group_id,
 			$_POST['attr_name'],
-- 
GitLab