summaryrefslogtreecommitdiff
path: root/list_stock.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-01 12:33:49 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-01 12:33:49 +0100
commita16e3d92444befcbd857d3bf00381b559d494d20 (patch)
treebf0721976ad9111721c6f19a1d1522dc35d23d5e /list_stock.php
parentf951a616d235b1c1fe74e8cba4ecb0039749575d (diff)
downloadstock-a16e3d92444befcbd857d3bf00381b559d494d20.tar.gz
stock-a16e3d92444befcbd857d3bf00381b559d494d20.tar.bz2
stock-a16e3d92444befcbd857d3bf00381b559d494d20.zip
Fix two-arg constructor signature to work with getLibertyObject/getNewObject
All three classes only accepted one parameter; getNewObject passes (null, $contentId) so the content_id was silently dropped and the object never loaded. Coalesce $pContentId ?? $pPrimaryId preserves all existing single-arg call sites. Also guard explodeFromAssembly against non-numeric xkey via SIMILAR TO filter. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'list_stock.php')
0 files changed, 0 insertions, 0 deletions