Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed incorrect output buffer use - bug #5590; merged from MOODLE_16_…
…STABLE
  • Loading branch information
skodak committed May 23, 2006
1 parent f6f7899 commit 4b9842d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/user.php
Expand Up @@ -211,8 +211,8 @@
$user_complete($course, $user, $mod, $instance);
echo "</ul>";

ob_end_clean();
$output = ob_get_contents();
ob_end_clean();

if (str_replace(' ', '', $output) != '<ul></ul>') {
echo $output;
Expand Down

0 comments on commit 4b9842d

Please sign in to comment.