CC-3753 : Cannot cancel record show on Timeline view
This commit is contained in:
parent
7f18f3b329
commit
a4b949cc2f
2 changed files with 10 additions and 4 deletions
|
@ -250,6 +250,7 @@ class Application_Model_ShowBuilder {
|
|||
//show is empty or is a special kind of show (recording etc)
|
||||
else if (intval($p_item["si_record"]) === 1) {
|
||||
$row["record"] = true;
|
||||
$row["instance"] = intval($p_item["si_id"]);
|
||||
}
|
||||
else {
|
||||
$row["empty"] = true;
|
||||
|
@ -261,7 +262,7 @@ class Application_Model_ShowBuilder {
|
|||
$row["rebroadcast"] = true;
|
||||
}
|
||||
|
||||
if ($this->currentShow = true) {
|
||||
if ($this->currentShow === true) {
|
||||
$row["currentShow"] = true;
|
||||
}
|
||||
|
||||
|
@ -297,7 +298,7 @@ class Application_Model_ShowBuilder {
|
|||
|
||||
$row["refresh"] = floatval($showEndDT->format("U.u")) - $this->epoch_now;
|
||||
|
||||
if ($this->currentShow = true) {
|
||||
if ($this->currentShow === true) {
|
||||
$row["currentShow"] = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue