CC-3858: Record and Rebroadcast Creation Problem\

- fixed
This commit is contained in:
James 2012-05-23 14:55:55 -04:00
parent 164c158c80
commit a969599986
1 changed files with 1 additions and 1 deletions

View File

@ -848,7 +848,7 @@ class Application_Model_Show {
$showId = $this->getId();
$sql = "SELECT id FROM cc_show_instances"
." WHERE date(starts) = date(TIMESTAMP '$timestamp') "
." AND show_id = $showId";
." AND show_id = $showId AND rebroadcast = 0";
$query = $con->query($sql);
$row = ($query !== false) ? $query->fetchColumn(0) : null;