Skip to content

Commit

Permalink
Fix edit conditions involving 'space'.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Sep 11, 2024
1 parent 8cbcea1 commit b43cff7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/searchterm.php
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,8 @@ function script_expression(PaperInfo $row, $about) {
foreach ($this->child as $ch) {
$sexprs[] = $ch->script_expression($row, $about);
}
return self::combine_script_expressions($this->type, $sexprs);
$type = $this->type === "space" ? "and" : $type;
return self::combine_script_expressions($type, $sexprs);
}
}

Expand Down

0 comments on commit b43cff7

Please sign in to comment.