diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-03 18:49:44 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-03 18:49:44 +0100 |
| commit | c694c8477dd0a46a9697d8f4db97934a6aaa23ba (patch) | |
| tree | e224c29484eb58ee6f17d2c64ade4a3335a299e1 /templates | |
| parent | 4a3fcb583cbe52466d2e935caf65f1103c196692 (diff) | |
| download | search-c694c8477dd0a46a9697d8f4db97934a6aaa23ba.tar.gz search-c694c8477dd0a46a9697d8f4db97934a6aaa23ba.tar.bz2 search-c694c8477dd0a46a9697d8f4db97934a6aaa23ba.zip | |
search: always use syllable expansion; fix PHP 8 null arithmetic
- Remove broken $plUsePart gate (literal $ in key meant it never fired);
syllable expansion now always runs so partial terms like 'TLC' expand
to indexed words like 'tlc5917n'
- Cast getOne() to int before time() subtraction — PHP 8 rejects int-null
arithmetic when syllable row doesn't exist yet
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions
