Skip to content
Snippets Groups Projects
Commit 9d0fdebe authored by tbrehm's avatar tbrehm
Browse files

Fixed a bug in app.inc.php that appears when the logo variable is not set.

parent 11f96c8f
No related branches found
Tags 3.1.10
No related merge requests found
......@@ -164,7 +164,7 @@ class app {
$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;');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment