Fix php warning

1.10.x
Julio Montoya 10 years ago
parent 7a115ad288
commit 04bb557b2f
  1. 3
      main/admin/statistics/index.php

@ -61,7 +61,8 @@ echo '</tr></table>';
$course_categories = Statistics::getCourseCategories();
echo '<br/><br/>';//@todo: spaces between elements should be handled in the css, br should be removed if only there for presentation
switch ($_REQUEST['report']) {
$report = isset($_REQUEST['report']) ? $_REQUEST['report'] : '';
switch ($report) {
case 'courses':
// total amount of courses
foreach ($course_categories as $code => $name) {

Loading…
Cancel
Save