Skip to content

Commit

Permalink
Fix only requested modname logic
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisjacquet committed Feb 17, 2024
1 parent 4b70c0c commit 0fcced8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -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
-----------------
Expand Down
3 changes: 2 additions & 1 deletion modules/School_Setup/AccessLog.php
Expand Up @@ -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
Expand Down

0 comments on commit 0fcced8

Please sign in to comment.