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

Update public search to be more user-friendly

parent 49bbb308
Branches
Tags
No related merge requests found
...@@ -534,7 +534,7 @@ class Courses_CourseModel extends Unl_Model ...@@ -534,7 +534,7 @@ class Courses_CourseModel extends Unl_Model
$records = $select->query()->fetchAll(); $records = $select->query()->fetchAll();
if (count($records) == 0) { if (count($records) == 0) {
return null; return new Unl_Model_Collection(__CLASS__);;
} }
$generationIds = array(); $generationIds = array();
foreach ($records as $record) { foreach ($records as $record) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment