does exactly what is advertised in title.
thanks for the tweak. I've altered it slightly to protect against goofy values (each $uid is run through is_numeric()), resulting in the following:
elseif (is_array($uid)) { $uid_list = array(); foreach ($uid as $discrete_uid) { if (is_numeric($discrete_uid)) { $uid_list[] => $discrete_uid; } } if (count($uid_list)) { $filter_string .= " AND v.uid IN ('" . implode("','",$uid_list) . "')"; } }
I'll be committing it and marking it as 4.7 tonight.
Comments
Comment #1
eaton commentedthanks for the tweak. I've altered it slightly to protect against goofy values (each $uid is run through is_numeric()), resulting in the following:
I'll be committing it and marking it as 4.7 tonight.
Comment #2
(not verified) commented