From 0fbffaaf694f23537635c43938199e98e271ef5d Mon Sep 17 00:00:00 2001 From: RedDragonWebDesign Date: Tue, 6 Feb 2024 22:24:30 -0800 Subject: [PATCH] search: add comments --- src/forum/search.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/forum/search.php b/src/forum/search.php index b1d3d6e..a4a858d 100644 --- a/src/forum/search.php +++ b/src/forum/search.php @@ -85,6 +85,7 @@ function check_filter_boards() { $breadcrumbObj->addCrumb("Forum", $MAIN_ROOT."forum"); $breadcrumbObj->addCrumb("Search Forum"); +// $_POST is the method for doing advanced searches. But there is also a limited $_GET search for searching all of a user's posts. If using $_GET search, set the $_POST variables here. if (count($_GET) > 0) { $_POST['fakesearchuser'] = $_GET['searchuser']; $_POST['checkCSRF'] = $_SESSION['csrfKey']; @@ -123,6 +124,7 @@ function check_filter_boards() { $memberList = json_encode($arrMemberList); +// Populate the $filterBoardOptions variable, which contains the list of boards to include in the Filter Boards