Safen up getUsingCustomStreamSettings()

This commit is contained in:
Albert Santoni 2015-08-10 08:57:21 -04:00
parent a82b75743f
commit fc5d20f4d6

View file

@ -1441,7 +1441,8 @@ class Application_Model_Preference
// SAAS-876 - Toggle indicating whether user is using custom stream settings
public static function getUsingCustomStreamSettings() {
return self::getValue("using_custom_stream_settings");
$val = self::getValue("using_custom_stream_settings");
return empty($val) ? false : $val;
}
public static function setUsingCustomStreamSettings($value) {