diff options
Diffstat (limited to 'app/controllers/course/overview.php')
| -rw-r--r-- | app/controllers/course/overview.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/course/overview.php b/app/controllers/course/overview.php index 4313cdc..c467ccf 100644 --- a/app/controllers/course/overview.php +++ b/app/controllers/course/overview.php @@ -49,7 +49,7 @@ class Course_OverviewController extends AuthenticatedController } // Fetch news - $response = $this->relayWithRedirect('news/display/' . $this->course_id); + $response = $this->relayWithRedirect('news/display/' . $this->course_id . '/true'); $this->news = $response->body; // Fetch votes @@ -109,7 +109,7 @@ class Course_OverviewController extends AuthenticatedController } $connections = StudygroupCourse::countBySql( - "`studygroup_id` = :cid OR `course_id` = :cid", + "`studygroup_id` = :cid OR `course_id` = :cid", [ 'cid' => $this->course_id ] |
