$selector .= " AND l.time > '$date' AND l.time < '$enddate'";
}
- if (!$logs = get_logs($select, $order)) {
+ if (!$logs = get_logs($selector, $order)) {
notify("No logs found!");
print_footer($course);
exit;
require("lib.php");
require_variable($id); // Course ID
- optional_variable($user); // User to display
- optional_variable($date); // Date to display
+ optional_variable($user, 0); // User to display
+ optional_variable($date, 0); // Date to display
require_login($id);