diff --git a/CHANGES.md b/CHANGES.md index a9245bf09..2cb22f2cf 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,7 @@ Changes in 11.4.3 ----------------- - Fix SQL update gradebook_assignment_types only for old teacher's assignments in Courses.fnc.php - Fix SQL Get all assignment types having assignments for this course period in GradebookBreakdown.php, Assignments.php, Grades.php & Courses.fnc.php +- Fix only requested modname logic in AccessLog.php Changes in 11.4.2 ----------------- diff --git a/modules/School_Setup/AccessLog.php b/modules/School_Setup/AccessLog.php index 39b708acd..ff8f62c30 100644 --- a/modules/School_Setup/AccessLog.php +++ b/modules/School_Setup/AccessLog.php @@ -37,7 +37,8 @@ } } -if ( count( $_REQUEST ) === 1 ) +if ( count( $_REQUEST ) === 3 + && ! $_REQUEST['modfunc'] ) { // Only requested modname. // @since 11.4 Automatically clear Access Log entries older than one year