[#15] Convert serialized settings from objects to arrays.

This commit is contained in:
Jens Schuppe 2019-11-27 12:59:08 +01:00
parent edebdd234d
commit f2b94b72e7
2 changed files with 21 additions and 1 deletions

View file

@ -363,6 +363,6 @@ class CRM_Twingle_Profile {
foreach (self::$_profiles as $profile_name => $profile) {
$profile_data[$profile_name] = $profile->data;
}
CRM_Core_BAO_Setting::setItem((object) $profile_data, 'de.systopia.twingle', 'twingle_profiles');
CRM_Core_BAO_Setting::setItem($profile_data, 'de.systopia.twingle', 'twingle_profiles');
}
}