CC-3858: Record and Rebroadcast Creation Problem\
- fixed
This commit is contained in:
parent
164c158c80
commit
a969599986
|
@ -848,7 +848,7 @@ class Application_Model_Show {
|
||||||
$showId = $this->getId();
|
$showId = $this->getId();
|
||||||
$sql = "SELECT id FROM cc_show_instances"
|
$sql = "SELECT id FROM cc_show_instances"
|
||||||
." WHERE date(starts) = date(TIMESTAMP '$timestamp') "
|
." WHERE date(starts) = date(TIMESTAMP '$timestamp') "
|
||||||
." AND show_id = $showId";
|
." AND show_id = $showId AND rebroadcast = 0";
|
||||||
|
|
||||||
$query = $con->query($sql);
|
$query = $con->query($sql);
|
||||||
$row = ($query !== false) ? $query->fetchColumn(0) : null;
|
$row = ($query !== false) ? $query->fetchColumn(0) : null;
|
||||||
|
|
Loading…
Reference in New Issue