forked from science-ation/science-ation
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:
parent
5ce75f9a82
commit
8588846591
@ -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="";
|
||||
|
Loading…
Reference in New Issue
Block a user