From e8a29cf134f7df1a1e7637083f6d7adf64949b7c Mon Sep 17 00:00:00 2001
From: jmontoya <jmontoya@ispconfig3>
Date: Wed, 04 Aug 2010 12:57:28 -0400
Subject: [PATCH] Adding new functions to the Remoting class

---
 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