tbrehm
2008-10-26 9d0fdebe1f61fa636fdefd9327756d5170d6b08c
Fixed a bug in app.inc.php that appears when the logo variable is not set.
1 files modified
2 ■■■ changed files
interface/lib/app.inc.php 2 ●●● patch | view | raw | blame | history
interface/lib/app.inc.php
@@ -164,7 +164,7 @@
        $this->tpl->setVar('theme', $_SESSION['s']['theme']);
        $this->tpl->setVar('phpsessid', session_id());
        $this->tpl->setVar('html_content_encoding', $this->_conf['html_content_encoding']);
        if($this->_conf['logo'] != '' && @is_file($this->_conf['logo'])){
        if(isset($this->_conf['logo']) && $this->_conf['logo'] != '' && @is_file($this->_conf['logo'])){
            $this->tpl->setVar('logo', '<img src="'.$this->_conf['logo'].'" border="0" alt="">');
        } else {
            $this->tpl->setVar('logo', '&nbsp;');