Change how station logo default is returned

This commit is contained in:
Duncan Sommerville 2015-11-17 18:58:58 -05:00
parent e75d614537
commit 1571887928
5 changed files with 6 additions and 9 deletions

View file

@ -101,11 +101,7 @@ class DashboardController extends Zend_Controller_Action
$this->_helper->layout->setLayout('livestream');
$logo = Application_Model_Preference::GetStationLogo();
if ($logo === DEFAULT_LOGO_PLACEHOLDER) {
$this->view->logo = "/".DEFAULT_LOGO_FILE;
} else {
$this->view->logo = "data:image/png;base64,".$logo;
}
$this->view->logo = "data:image/png;base64,".$logo;
}
public function helpAction()