From 6480b0da92b10ec316b3f97cbdfb6afcf16a7787 Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Wed, 17 Jan 2007 06:13:09 +0000 Subject: [PATCH] get_config(): fix a call using the oldstyle return value --- course/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/lib.php b/course/lib.php index fa2973d7a10bb..658784cb2087b 100644 --- a/course/lib.php +++ b/course/lib.php @@ -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)) {