CC-6059: Default station logo broken in Audio Preview popup

This commit is contained in:
drigato 2015-06-16 13:37:05 -04:00
parent 68a02e3c95
commit 709b9bbeec
1 changed files with 3 additions and 3 deletions

View File

@ -99,10 +99,10 @@ class DashboardController extends Zend_Controller_Action
$this->_helper->layout->setLayout('livestream'); $this->_helper->layout->setLayout('livestream');
$logo = Application_Model_Preference::GetStationLogo(); $logo = Application_Model_Preference::GetStationLogo();
if ($logo) { if ($logo === DEFAULT_LOGO_PLACEHOLDER) {
$this->view->logo = "data:image/png;base64,$logo"; $this->view->logo = "/".DEFAULT_LOGO_FILE;
} else { } else {
$this->view->logo = $baseUrl."css/images/airtime_logo_jp.png"; $this->view->logo = "data:image/png;base64,".$logo;
} }
} }