Remove use of FILTER_SANITIZE_STRING,
authorBradley Taylor <hello@brad-taylor.co.uk>
Sat, 19 Mar 2022 13:59:07 +0000 (13:59 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Sat, 19 Mar 2022 13:59:07 +0000 (13:59 +0000)
commitf350b9bdee9fb29e6e914a915a970b5afc2e9511
treec68f145e3729c95b61cb170d24474df2c912d91c
parent194fcfc1bb5532dd3c2d74afda8fa8672cf78eb3
Remove use of FILTER_SANITIZE_STRING,
which is deprecated in PHP 8.1.0.

This follows the fix in \League\Csv\AbstractCsv::sendHeaders,
from which this method is copied.
ext/search_kit/Civi/Api4/Action/SearchDisplay/Download.php