Skip to content
Snippets Groups Projects
Commit cc975ecc authored by Tim Steiner's avatar Tim Steiner
Browse files

iACE Weekly Reports

parent 5052b41e
No related branches found
No related tags found
No related merge requests found
...@@ -351,7 +351,7 @@ class Courses_CourseModel extends Unl_Model ...@@ -351,7 +351,7 @@ class Courses_CourseModel extends Unl_Model
self::find($courseIds); self::find($courseIds);
if (Unl_Util::isArray($requestId)) { if (Unl_Util::isArray($requestId)) {
$rv = array(); $rv = new Unl_Model_Collection(__CLASS__);
foreach ($requestId as $rId) { foreach ($requestId as $rId) {
$rv[$rId] = Unl_Model_Registry::getInstance()->get(__CLASS__, $courseIds[$rId]); $rv[$rId] = Unl_Model_Registry::getInstance()->get(__CLASS__, $courseIds[$rId]);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment