Skip to content

Commit 9d0fdeb

Browse files
committed
Fixed a bug in app.inc.php that appears when the logo variable is not set.
1 parent 11f96c8 commit 9d0fdeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/app.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public function tpl_defaults()
164164
$this->tpl->setVar('theme', $_SESSION['s']['theme']);
165165
$this->tpl->setVar('phpsessid', session_id());
166166
$this->tpl->setVar('html_content_encoding', $this->_conf['html_content_encoding']);
167-
if($this->_conf['logo'] != '' && @is_file($this->_conf['logo'])){
167+
if(isset($this->_conf['logo']) && $this->_conf['logo'] != '' && @is_file($this->_conf['logo'])){
168168
$this->tpl->setVar('logo', '<img src="'.$this->_conf['logo'].'" border="0" alt="">');
169169
} else {
170170
$this->tpl->setVar('logo', '&nbsp;');

0 commit comments

Comments
 (0)