Skip to content

Commit c54c91a

Browse files
authored
Update model.ajax.php
1 parent 95619a1 commit c54c91a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

main/inc/ajax/model.ajax.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -684,12 +684,12 @@ function getWhereClause($col, $oper, $val)
684684
}
685685

686686
// Filtrage sur la date de fin d'exercice (exe_date)
687-
if (!empty($search_start_date)) {
688-
$whereCondition .= " AND te.exe_date >= '".Database::escape_string($search_start_date)." 00:00:00'";
689-
}
690-
if (!empty($search_end_date)) {
691-
$whereCondition .= " AND te.exe_date <= '".Database::escape_string($search_end_date)." 23:59:59'";
692-
}
687+
if (!empty($search_start_date)) {
688+
$whereCondition .= " AND te.exe_date >= '".Database::escape_string($search_start_date)." 00:00:00'";
689+
}
690+
if (!empty($search_end_date)) {
691+
$whereCondition .= " AND te.exe_date <= '".Database::escape_string($search_end_date)." 23:59:59'";
692+
}
693693
// -------------------------------
694694
$count = ExerciseLib::get_count_exam_results(
695695
$exerciseId,

0 commit comments

Comments
 (0)