Commit fbed9319 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie

Added 'staff' column so that notices don't occur

parent 7e1fefbb
......@@ -47,7 +47,7 @@ function pieform_element_userlist(Pieform $form, $element) {
}
if (is_array($value) && count($value)) {
$members = get_records_select_assoc('usr','id IN (' . join(',',$value) . ')', null, '', 'id,username,firstname,lastname,preferredname');
$members = get_records_select_assoc('usr','id IN (' . join(',',$value) . ')', null, '', 'id,username,firstname,lastname,preferredname,staff');
foreach($members as &$member) {
$member = display_name($member);
......
Markdown is supported
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