Minor search bug
jdarwood007

jdarwood007 commited on 2020-01-04 09:24:26
Showing 1 changed files, with 2 additions and 2 deletions.

... ...
@@ -1058,7 +1058,7 @@ class SFSA
1058 1058
 		// If we have something to search for saved, get it back out.
1059 1059
 		if (!empty($_REQUEST['params']) && empty($_REQUEST['is_search']))
1060 1060
 		{
1061
-			$search_params = base64_decode(strtr($params, array(' ' => '+')));
1061
+			$search_params = base64_decode(strtr($_REQUEST['params'], array(' ' => '+')));
1062 1062
 			$search_params = $this->SFSclass->decodeJSON($search_params);
1063 1063
 
1064 1064
 			if (!empty($search_params))
... ...
@@ -1113,7 +1113,7 @@ class SFSA
1113 1113
 	 * @CalledIn SMF 2.0, SMF 2.1
1114 1114
 	 * @version 1.1
1115 1115
 	 * @since 1.0
1116
-	 * @return string What we are searching for, validated and cleaned.
1116
+	 * @return string The column we are searching.
1117 1117
 	 */
1118 1118
 	private function handleLogSearchParamsType(): string
1119 1119
 	{
1120 1120