From bab36b51e6cf65db4557125a11ec584e005fefaa Mon Sep 17 00:00:00 2001
From: agoston <agoston@ispconfig3>
Date: Thu, 03 Dec 2009 10:17:24 -0500
Subject: [PATCH] - removed number from conf[version] because it is the version of baselayout - as apache 2.2.14 the ssl directory moved to /etc/ssl/apache2 from /etc/apache2/ssl

---
 server/lib/classes/plugins.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/lib/classes/plugins.inc.php b/server/lib/classes/plugins.inc.php
index beb7868..826944a 100644
--- a/server/lib/classes/plugins.inc.php
+++ b/server/lib/classes/plugins.inc.php
@@ -107,7 +107,7 @@
 		global $app;
 		
 		// Get the subscriptions for this event
-		$events = $this->subscribed_events[$event_name];
+		$events = (isset($this->subscribed_events[$event_name]))?$this->subscribed_events[$event_name]:'';
 		if($this->debug) $app->log("Raised event: '$event_name'",LOGLEVEL_DEBUG);
 		
 		if(is_array($events)) {

--
Gitblit v1.9.1