CC-3030: Repeating shows is broken in devel branch.
-working towards using only DateTime objects
This commit is contained in:
parent
74d3c3aebc
commit
42cde33648
7 changed files with 95 additions and 52 deletions
|
@ -66,7 +66,7 @@ function createTestShow($showNumber, $showTime, $duration = "1:00")
|
|||
//echo "show created, ID: $showId\n";
|
||||
|
||||
// populating the show with a playlist
|
||||
$instances = Application_Model_Show::getShows($showTime->format("Y-m-d H:i:s"), $showTime->format("Y-m-d H:i:s"));
|
||||
$instances = Application_Model_Show::getShows($showTime, $showTime);
|
||||
$instance = array_pop($instances);
|
||||
$show = new Application_Model_ShowInstance($instance["instance_id"]);
|
||||
//echo "Adding playlist to show instance ".$show->getShowInstanceId()."\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue