diff --git a/airtime_mvc/application/models/Show.php b/airtime_mvc/application/models/Show.php index e227645af..d0cb8e9c9 100644 --- a/airtime_mvc/application/models/Show.php +++ b/airtime_mvc/application/models/Show.php @@ -1228,8 +1228,9 @@ class Application_Model_Show $stmt = $con->prepare("SELECT * FROM cc_show_days WHERE show_id = :show_id"); $stmt->bindParam(':show_id', $p_showId); + $stmt->execute(); - $res = $stmt->execute()->fetchAll(); + $res = $stmt->fetchAll(); foreach ($res as $showDaysRow) { Application_Model_Show::populateShow($showDaysRow, $p_populateUntilDateTime);