Update extrafields.class.php

Bug : selectlist are wrong : param are not an array in this case
add param and paramarray var:
param for the selectlist type/ paramarray for type with array parameters