mirror of
https://github.com/jez500/pricebuddy.git
synced 2026-11-24 19:58:13 +01:00
filter[url][]= and filter[domain][]= produce a nested array once Spatie splits each element on the comma delimiter, which reached implode() and raised "Array to string conversion" -> ErrorException -> HTTP 500. Adds ApiHelperTrait::filterValueToString(), which flattens before rejoining with ',' so the original value is reconstructed exactly, and uses it from both filter callbacks in place of the duplicated inline cast.