Skip to content

Commit

Permalink
Fix undefined index in request
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed Dec 26, 2024
1 parent 49816b6 commit 10b6d61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/inc/lib/CoursesAndSessionsCatalog.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1998,7 +1998,7 @@ public static function getCatalogUrl(
$action = isset($action) ? Security::remove_XSS($action) : $requestAction;
$searchTerm = isset($_REQUEST['search_term']) ? Security::remove_XSS($_REQUEST['search_term']) : '';
$keyword = isset($_REQUEST['keyword']) ? Security::remove_XSS($_REQUEST['keyword']) : '';
$searchTag = $_REQUEST['search_tag'] ? Security::remove_XSS($_REQUEST['search_tag']) : '';
$searchTag = isset($_REQUEST['search_tag']) ? Security::remove_XSS($_REQUEST['search_tag']) : '';
$languageSelect = isset($_REQUEST['course_language']) ? Security::remove_XSS($_REQUEST['course_language']) : '';

if ($action === 'subscribe_user_with_password') {
Expand Down

0 comments on commit 10b6d61

Please sign in to comment.