diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-21 08:58:42 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-21 08:58:42 +0100 |
| commit | df3841bcb4dc82103d3fca46a4257446680bb51a (patch) | |
| tree | ae7d098142fb8161ea3c47389d295393eda45beb /edit_assembly.php | |
| parent | 468ab44fb7db3abe6ff28ea6085a7e0b64b0c185 (diff) | |
| download | stock-df3841bcb4dc82103d3fca46a4257446680bb51a.tar.gz stock-df3841bcb4dc82103d3fca46a4257446680bb51a.tar.bz2 stock-df3841bcb4dc82103d3fca46a4257446680bb51a.zip | |
Fix assembly search returning no results in add_prebuild
array_map over the content_id-keyed getList() result preserves associative
keys, so json_encode produced a JS object instead of an array — making
items.filter() throw TypeError. Wrap with array_values() to reindex.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'edit_assembly.php')
0 files changed, 0 insertions, 0 deletions
