mcguffin/acf-quickedit-fields

Extra comma in UserField.php

hideaki-matsuzaka opened this issue · 0 comments

in include/ACFQuickEdit/Fields/UserField.php we have extra comma which breaks ACF field group editor.

$this->acf_field['choices'] = array_combine( array_map( function($user) { return $user->ID; }, $users ), array_map( function($user) { return $user->user_nicename; }, $users ), /* <-- here */ );