Skip to content
  • jun's avatar
    MDL-70815 completion: Cast custom data to array · fc238f32
    jun authored and Sara Arjona's avatar Sara Arjona committed
    Since cm_info::customdata can be of any type, we need to cast it to an
    array first before checking for custom completion rules. Otherwise,
    an exception can be thrown (e.g. customdata has been set as an stdClass)
    fc238f32