CC-3626 : Playlist Builder -> you can not add files from Library by using "+" button (if default Fades were changed in Preferences)

This commit is contained in:
Naomi Aro 2012-04-13 11:09:52 +02:00
parent 169a4827e4
commit ef908ee894
2 changed files with 9 additions and 2 deletions

View file

@ -151,7 +151,14 @@ class Application_Model_Preference
}
public static function GetDefaultFade() {
return self::GetValue("default_fade");
$fade = self::GetValue("default_fade");
if ($fade === "") {
return null;
}
$fade = number_format($fade, 6);
return $fade;
}
public static function SetDefaultTransitionFade($fade) {