From 6d7ef1f2c3fceba5cc087702baf5ec115527ed3e Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 2 Jun 2006 16:53:17 +0000 Subject: [PATCH] merged Martins warning patch from MOODLE_16_STABLE --- course/report/stats/mod.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 +?> -- 2.39.5