From dd1afa99b17596d4150d4b9b2741189f42d655d1 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 30 Nov 2010 05:09:10 -0500
Subject: [PATCH] Fixed syntax error in apache plugin.

---
 interface/web/dashboard/dashlets/modules.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/interface/web/dashboard/dashlets/modules.php b/interface/web/dashboard/dashlets/modules.php
index 7824cd5..fa3f761 100644
--- a/interface/web/dashboard/dashlets/modules.php
+++ b/interface/web/dashboard/dashlets/modules.php
@@ -11,8 +11,9 @@
 		$tpl = new tpl;
 		$tpl->newTemplate("dashlets/templates/modules.htm");
 		
+		$wb = array();
 		$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dashlet_modules.lng';
-		include($lng_file);
+		if(is_file($lng_file)) include($lng_file);
 		$tpl->setVar($wb);
 		
 		/*

--
Gitblit v1.9.1