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:
parent
61fd560daa
commit
e0c53afe0b
|
@ -574,7 +574,7 @@ class Application_Model_ShowInstance {
|
||||||
{
|
{
|
||||||
$time = $this->_showInstance->getDbTimeFilled();
|
$time = $this->_showInstance->getDbTimeFilled();
|
||||||
|
|
||||||
if ($time != "00:00:00") {
|
if ($time != "00:00:00" && $time != null && strcmp($time, '')!=0) {
|
||||||
$time_arr = explode(".", $time);
|
$time_arr = explode(".", $time);
|
||||||
if (count($time_arr) > 1) {
|
if (count($time_arr) > 1) {
|
||||||
$time_arr[1] = "." . $time_arr[1];
|
$time_arr[1] = "." . $time_arr[1];
|
||||||
|
|
Loading…
Reference in New Issue