Permalink
Browse files

Merge branch 'MDL-34539' of git://github.com/danpoltawski/moodle into…

… MOODLE_23_STABLE
  • Loading branch information...
stronk7 committed Aug 15, 2012
2 parents e154c1b + 894446f commit 91986f84c2fe8e9bc21f31f937a3ec64b7872ab1
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/view.php
View
@@ -97,7 +97,7 @@
$logparam = 'id='. $course->id;
$loglabel = 'view';
$infoid = $course->id;
- if(!empty($section)) {
+ if ($section and $section > 0) {
$loglabel = 'view section';
// Get section details and check it exists.

0 comments on commit 91986f8

Please sign in to comment.