fixed typo

This commit is contained in:
Rudi Grinberg 2012-09-04 15:03:49 -04:00
parent 1fcd20fea3
commit 0819419b3b
1 changed files with 43 additions and 47 deletions

View File

@ -1630,15 +1630,11 @@ class Application_Model_Show
WHERE last_show IS NULL
OR first_show < :endTimeString AND last_show > :startTimeString");
//$stmt->execute(array(
//':endTimeString' => $endTimeString,
//':startTimeString' => $startTimeString
//));
$stmt->bindParam(':endTimeString', $endTimeString);
$stmt->bindParam(':startTimeString', $startTimeString);
$stmt->execute();
$res = $stmt->execute()->fetchAll();
$res = $stmt->fetchAll();
foreach ($res as $row) {
Application_Model_Show::populateShow($row, $p_endTimestamp);
}