From: skodak Date: Fri, 2 Jun 2006 16:53:17 +0000 (+0000) Subject: merged Martins warning patch from MOODLE_16_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6d7ef1f2c3fceba5cc087702baf5ec115527ed3e;p=moodle.git merged Martins warning patch from MOODLE_16_STABLE --- diff --git a/course/report/stats/mod.php b/course/report/stats/mod.php index d8215d910e..e012363a33 100644 --- a/course/report/stats/mod.php +++ b/course/report/stats/mod.php @@ -4,11 +4,9 @@ die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page } - echo '

'; if (!empty($CFG->enablestats)) { + echo '

'; echo ''.get_string('stats').''; - } else { - echo ''.get_string('statsoff').''; + echo '

'; } - echo '

'; -?> \ No newline at end of file +?>