CC-6059: Default station logo broken in Audio Preview popup
This commit is contained in:
parent
68a02e3c95
commit
709b9bbeec
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue