Skip to content

Commit

Permalink
Fix missing table in report BT#17034
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Apr 21, 2020
1 parent c53b04e commit d7322af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main/inc/lib/statistics.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ public static function getNumberOfActivities($courseId = 0, $sessionId = 0)
default_value_type LIKE '%".$keyword."%' OR
default_value LIKE '%".$keyword."%') ";
}

$res = Database::query($sql);
$obj = Database::fetch_object($res);

Expand Down Expand Up @@ -911,7 +910,7 @@ public static function printActivitiesStats()
$table->set_header(5, get_lang('UserName'));
$table->set_header(6, get_lang('IPAddress'));
$table->set_header(7, get_lang('Date'));
$content = $table->toHtml();
$content .= $table->return_table();

return $content;
}
Expand Down

0 comments on commit d7322af

Please sign in to comment.