MDL-75454 cache: Reduced exposure of sesskey param

This commit is contained in:
David Woloszyn
2023-02-14 11:28:51 +11:00
parent eb84455a05
commit a869fbf33e
3 changed files with 17 additions and 11 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ $PAGE->set_primary_active_tab('siteadminnode');
$PAGE->navbar->add(get_string('cacheconfig', 'cache'), new moodle_url('/cache/admin.php'));
// Handle page actions in admin helper class.
if (!empty($action) && confirm_sesskey()) {
if (!empty($action)) {
$forminfo = $adminhelper->perform_cache_actions($action, $forminfo);
}