diff --git a/airtime_mvc/application/models/Preference.php b/airtime_mvc/application/models/Preference.php index 4671de00a..56646b119 100644 --- a/airtime_mvc/application/models/Preference.php +++ b/airtime_mvc/application/models/Preference.php @@ -204,9 +204,9 @@ class Application_Model_Preference $fade = $out; } - $fade = number_format($fade, 2); + $fade = number_format($fade, 1); //fades need 2 leading zeros for DateTime conversion - $fade = str_pad($fade, 5, "0", STR_PAD_LEFT); + $fade = str_pad($fade, 4, "0", STR_PAD_LEFT); return $fade; }