From b62cfedfdd4b037aa4cdad3914c8a6a062a37fa0 Mon Sep 17 00:00:00 2001
From: quentusrex <quentusrex@ispconfig3>
Date: Thu, 30 Oct 2008 12:24:53 -0400
Subject: [PATCH] This should enable the courier maildrop quota system. 

---
 interface/lib/app.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php
index dff1bd7..46a9114 100644
--- a/interface/lib/app.inc.php
+++ b/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;');

--
Gitblit v1.9.1