From 858884659132e8d2b8af9ba6a18b2715e8797581 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 3 Mar 2011 05:32:46 +0000 Subject: [PATCH] Undo the roletype change, i think there's more going on here than i originally thought.. it hink we use the $_SESSION['roles'] in two different ways at some point, fixing one breaks the other, need to investigate more --- common.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.inc.php b/common.inc.php index 6ec6729..636e5b4 100644 --- a/common.inc.php +++ b/common.inc.php @@ -235,7 +235,7 @@ if(!is_array($_SESSION['roles'])) { */ if(is_array($_SESSION['roles'])) { - foreach($_SESSION['roles'] AS $roletype=>$roledata) { + foreach($_SESSION['roles'] AS $roletype) { //=>$roledata) { $roleid=$roles[$roletype]['id']; $q=mysql_query("SELECT * FROM rolestasks WHERE roles_id='$roleid' AND pid=0 AND conferencetype='{$conference['type']}' ORDER BY ord,task"); $cl="";