From 0193eec89e11d7dbaf76613ed2bf91c481b5ff66 Mon Sep 17 00:00:00 2001 From: Yuchen Wang Date: Wed, 30 Nov 2011 16:10:40 -0500 Subject: [PATCH] CC-3139: Undefined index errors in Live stream player after fresh install Got SQL syntax mixed up with PHP... --- airtime_mvc/application/models/StreamSetting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/models/StreamSetting.php b/airtime_mvc/application/models/StreamSetting.php index d63ce12f7..126e29e68 100644 --- a/airtime_mvc/application/models/StreamSetting.php +++ b/airtime_mvc/application/models/StreamSetting.php @@ -8,7 +8,7 @@ class Application_Model_StreamSetting { $sql = "SELECT * " ."FROM cc_stream_setting " ."WHERE keyname LIKE '%_enable' " - ."AND value == true"; + ."AND value='true'"; $rows = $CC_DBC->getAll($sql); $ids = array();