CC-3796: If you change the show's start and end time, the length of content will be displayed as ".00"

-fixed
This commit is contained in:
denise 2012-05-15 15:43:06 -04:00
parent 61fd560daa
commit e0c53afe0b
1 changed files with 1 additions and 1 deletions

View File

@ -574,7 +574,7 @@ class Application_Model_ShowInstance {
{
$time = $this->_showInstance->getDbTimeFilled();
if ($time != "00:00:00") {
if ($time != "00:00:00" && $time != null && strcmp($time, '')!=0) {
$time_arr = explode(".", $time);
if (count($time_arr) > 1) {
$time_arr[1] = "." . $time_arr[1];