Commit 4ceaa34f authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

get_records_select => get_records_select_assoc, NOT get_records_select_array

parent 2b20a198
......@@ -47,7 +47,7 @@ function pieform_render_userlist($element, Pieform $form) {
}
if (is_array($value) && count($value)) {
$members = get_records_select_array('usr','id IN (' . join(',',$value) . ')', null, '', 'id,firstname,lastname,preferredname');
$members = get_records_select_assoc('usr','id IN (' . join(',',$value) . ')', null, '', 'id,firstname,lastname,preferredname');
foreach($members as &$member) {
$member = display_name($member);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment