MDL-28277 Changing optional_param to optional_param_array