Support Forums
ATutor Bug Reports
Error: saving changes in role and privileges
You must be signed-in to post.
| Author | Subject | |
|---|---|---|
| Page: 1 | ||
| peter | Subject: Error: saving changes in role and privileges | |
| I get the following error message when I tried to save the changes I made to roles/privileges under the Enrollment Manager. It looks like the changes did get saved though. Warning: Invalid argument supplied for foreach() in /opt/bzone1122/html/ths01/THS01/atutor/tools/privileges.php on line 50 Warning: Cannot modify header information - headers already sent by (output started at /opt/bzone1122/html/ths01/THS01/atutor/tools/privileges.php:50) in /opt/bzone1122/html/ths01/THS01/atutor/tools/privileges.php on line 61 Posted: 2004-10-28 17:57:24 | ||
| peter | Subject: Version Info | |
| 1.4.2 ATutor Posted: 2004-10-28 17:58:05 | ||
| peter | Subject: More details | |
| The error showed up when you tried to save it the second time. Posted: 2004-10-28 18:03:10 | ||
greg![]() | Subject: fix | |
| replace lines 50-52 in privileges.php foreach ($_POST['privs'] as $key => $priv) { $privilege += $key; } with: if($_POST['privs']){ foreach ($_POST['privs'] as $key => $priv) { $privilege += $key; } } Posted: 2004-10-28 18:20:10 | ||
| Page: 1 | ||
You must be signed-in to post.


