From 709b9bbeec659feb65cdacd6d9941edb9c0afdb7 Mon Sep 17 00:00:00 2001 From: drigato Date: Tue, 16 Jun 2015 13:37:05 -0400 Subject: [PATCH] CC-6059: Default station logo broken in Audio Preview popup --- airtime_mvc/application/controllers/DashboardController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/application/controllers/DashboardController.php b/airtime_mvc/application/controllers/DashboardController.php index 356819c09..2dc134eec 100644 --- a/airtime_mvc/application/controllers/DashboardController.php +++ b/airtime_mvc/application/controllers/DashboardController.php @@ -99,10 +99,10 @@ class DashboardController extends Zend_Controller_Action $this->_helper->layout->setLayout('livestream'); $logo = Application_Model_Preference::GetStationLogo(); - if ($logo) { - $this->view->logo = "data:image/png;base64,$logo"; + if ($logo === DEFAULT_LOGO_PLACEHOLDER) { + $this->view->logo = "/".DEFAULT_LOGO_FILE; } else { - $this->view->logo = $baseUrl."css/images/airtime_logo_jp.png"; + $this->view->logo = "data:image/png;base64,".$logo; } }