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
No related tags found
No related merge requests found
...@@ -164,7 +164,7 @@ class app { ...@@ -164,7 +164,7 @@ class app {
$this->tpl->setVar('theme', $_SESSION['s']['theme']); $this->tpl->setVar('theme', $_SESSION['s']['theme']);
$this->tpl->setVar('phpsessid', session_id()); $this->tpl->setVar('phpsessid', session_id());
$this->tpl->setVar('html_content_encoding', $this->_conf['html_content_encoding']); $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="">'); $this->tpl->setVar('logo', '<img src="'.$this->_conf['logo'].'" border="0" alt="">');
} else { } else {
$this->tpl->setVar('logo', '&nbsp;'); $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