Quick Fix

i have an issue for my custom primary key name which name 'UserID' which named 'userid' in the $fieldName varibale
so here is my quick fix