diff --git a/airtime_mvc/application/controllers/PreferenceController.php b/airtime_mvc/application/controllers/PreferenceController.php index 29e419965..44c32d8fa 100644 --- a/airtime_mvc/application/controllers/PreferenceController.php +++ b/airtime_mvc/application/controllers/PreferenceController.php @@ -67,7 +67,7 @@ class PreferenceController extends Zend_Controller_Action Application_Model_Preference::setTuneinPartnerId($values["tunein_partner_id"]); // SoundCloud Preferences - if (Billing::isStationPodcastAllowed()) { + if (Billing::isStationPodcastAllowed() && array_key_exists('SoundCloudLicense', $values)) { Application_Model_Preference::setDefaultSoundCloudLicenseType($values["SoundCloudLicense"]); Application_Model_Preference::setDefaultSoundCloudSharingType($values["SoundCloudSharing"]); }