Skip to content

Commit

Permalink
Plugin: BuyCourses: Fix variable filtering flaw - refs BT#17957
Browse files Browse the repository at this point in the history
  • Loading branch information
ywarnier committed Nov 18, 2020
1 parent 3bf21ef commit 2287ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/buycourses/src/session_catalog.php
Expand Up @@ -21,7 +21,7 @@
$nameFilter = null;
$minFilter = 0;
$maxFilter = 0;
$sessionCategory = (int) isset($_GET['session_category']) ? $_GET['session_category'] : 0;
$sessionCategory = isset($_GET['session_category']) ? (int) $_GET['session_category'] : 0;
$form = new FormValidator(
'search_filter_form',
'get',
Expand Down

0 comments on commit 2287ef3

Please sign in to comment.