Permalink
Browse files

get_config(): fix a call using the oldstyle return value

  • Loading branch information...
martinlanghoff
martinlanghoff committed Jan 17, 2007
1 parent 503d126 commit 6480b0da92b10ec316b3f97cbdfb6afcf16a7787
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/lib.php
View
@@ -1786,7 +1786,7 @@ function print_course($course, $width="100%") {
/// first find all roles that are supposed to be displayed
if ($managerroles = get_config('', 'coursemanager')) {
- $coursemanagerroles = split(',', $managerroles->value);
+ $coursemanagerroles = split(',', $managerroles);
foreach ($coursemanagerroles as $roleid) {
$role = get_record('role','id',$roleid);
if ($users = get_role_users($roleid, $context, true, '', 'u.lastname ASC', true)) {

0 comments on commit 6480b0d

Please sign in to comment.