From abc09ddbb12d4332a08b115e1b69baec9a1b030a Mon Sep 17 00:00:00 2001
From: vogelor <vogelor@ispconfig3>
Date: Thu, 18 Dec 2008 07:08:38 -0500
Subject: [PATCH] improvement of the RAID-State

---
 interface/web/client/tools.inc.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/interface/web/client/tools.inc.php b/interface/web/client/tools.inc.php
index 9cbf8eb..d66afc1 100644
--- a/interface/web/client/tools.inc.php
+++ b/interface/web/client/tools.inc.php
@@ -28,7 +28,7 @@
 */
 
 function applyClientTemplates($clientId){
-	global $app;
+	global $app,$page;
 	/*
 	 * Get the master-template for the client
 	 */
@@ -44,7 +44,7 @@
 		$sql = "SELECT * FROM client_template WHERE template_id = " . intval($masterTemplateId);
 		$limits = $app->db->queryOneRecord($sql);
 	} else {
-		$limits = $this->dataRecord;
+		$limits = $page->dataRecord;
 	}
 
 	/*

--
Gitblit v1.9.1