f5a726feb3
This is not easy to spot as $params may just contain one more item than $sql would expect. However, $sql and $params should be well paired.