Mercurial > hg > rc2
diff program/lib/Roundcube/rcube_contacts.php @ 11:aff04b06b685 default tip
various small fixes from upgrades to PHP and/or hangover from fix to apt-get overwrite at beginning of the year somehow
author | Charlie Root |
---|---|
date | Sun, 26 Jan 2025 13:09:03 -0500 |
parents | 4681f974d28b |
children |
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_contacts.php Mon May 11 16:56:46 2020 -0400 +++ b/program/lib/Roundcube/rcube_contacts.php Sun Jan 26 13:09:03 2025 -0500 @@ -356,7 +356,7 @@ if (!empty($post_search) || !empty($required)) { $ids = array(0); // build key name regexp - $regexp = '/^(' . implode(array_keys($post_search), '|') . ')(?:.*)$/'; + $regexp = '/^(' . implode('|', array_keys($post_search)) . ')(?:.*)$/'; // use initial WHERE clause, to limit records number if possible if (!empty($where)) $this->set_search_set($where);