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

Small SQL fix in CourseActivities.php

parent bad702d3
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,8 @@ class CourseActivities extends Local_Db_CourseTableMany ...@@ -47,7 +47,8 @@ class CourseActivities extends Local_Db_CourseTableMany
$select->from($this->_name, '*'); $select->from($this->_name, '*');
$select->join($activityTableName, $select->join($activityTableName,
$this->_name . '.type = ' $this->_name . '.type = '
. $activityTableName . '.shortName'); . $activityTableName . '.shortName',
array());
$select->where($where); $select->where($where);
$select->order(new Zend_Db_Expr($activityTableName . '.' . $activityPrimary)); $select->order(new Zend_Db_Expr($activityTableName . '.' . $activityPrimary));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment