Fix undefined index notice on user edit form