From cfa9da8cae6cc75052cb6fbce432033fc9c3b87b Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Sat, 27 Dec 2008 11:20:15 -0500 Subject: [PATCH] Fixed a bug in username and database name prefix. --- 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