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

This commit is contained in:
james 2011-03-03 05:32:46 +00:00
parent 5ce75f9a82
commit 8588846591

View File

@ -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="";