Skip to content

Commit

Permalink
fix: textQuery defaults to null in processData
Browse files Browse the repository at this point in the history
  • Loading branch information
Chloe070196 committed Aug 7, 2024
1 parent 75d089d commit 7c248ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/web/sys/SearchObject/SummonSearcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public function getOptions () {
/**
* Use the data that is returned when from the API and process it to assign it to variables
*/
public function processData($recordData, $textQuery) {
public function processData($recordData, $textQuery = null) {
$recordData = $this->process($recordData, $textQuery);
if (is_array($recordData)){
$this->sessionId = $recordData['sessionId'];
Expand Down

0 comments on commit 7c248ae

Please sign in to comment.