Commit Graph

2 Commits

Author SHA1 Message Date
Myron Blair cfbae6e945 Fix duplicate PDO named parameter in api/search-customers.php
Same bug class as the awardPoints() fix - :q was reused three times in one
WHERE clause, which fails under real (non-emulated) prepared statements.
Split into distinct :q1/:q2/:q3 placeholders each bound to the same value.

(The other flagged file, admin/import-export.php, turned out to be a false
positive from the earlier scan - the duplicate ":checked"/"::before" matches
were CSS pseudo-selectors inside a <style> block, not SQL placeholders.)
2026-07-05 15:01:01 +00:00
myron 996ca0d621 Initial commit 2026-05-22 12:52:44 +00:00