Skip to content
Snippets Groups Projects
Commit c10b08ce authored by Roger W Feese's avatar Roger W Feese
Browse files

Don't show retired course groups. (Requires addition of retired field)

parent d2b79c33
No related branches found
No related tags found
1 merge request!5Projects Task 21
......@@ -1852,6 +1852,7 @@ class Courses_CourseModel extends Unl_Model
if (!$courseGroups) {
$select = new Zend_Db_Select(Zend_Registry::get('db'));
$select->from(array('cg' => 'creqCourseGroups'));
$select->where("cg.retired = 'no'");
$records = $select->query()->fetchAll();
$courseGroups = array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment