From cebfdd65581d12222f613f439810c44594a3f984 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Wed, 12 Sep 2012 11:59:27 -0400 Subject: [PATCH] Changed sql string to heredoc --- airtime_mvc/application/models/Show.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/application/models/Show.php b/airtime_mvc/application/models/Show.php index 96b208231..8de6435f1 100644 --- a/airtime_mvc/application/models/Show.php +++ b/airtime_mvc/application/models/Show.php @@ -147,9 +147,11 @@ class Application_Model_Show { $con = Propel::getConnection(); - $sql = "SELECT subjs_id - FROM cc_show_hosts - WHERE show_id = :show_id"; + $sql = << $this->getId() ), 'all');