From 5734aa4561e8b6027bdecabdc795432fb3cc024e Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 27 Oct 2009 11:35:37 -0400
Subject: [PATCH] Updated apacheChanged apache_ispconfig.conf.master template to allow access to phpmyadmin and squirrelmail in redhat based distributions.

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

diff --git a/interface/lib/classes/validate_client.inc.php b/interface/lib/classes/validate_client.inc.php
index f721298..1124d72 100644
--- a/interface/lib/classes/validate_client.inc.php
+++ b/interface/lib/classes/validate_client.inc.php
@@ -40,7 +40,7 @@
         	$num_rec = $app->db->queryOneRecord("SELECT count(*) as number FROM sys_user WHERE username = '".$app->db->quote($field_value)."'");
             	if($num_rec["number"] > 0) {
                 	$errmsg = $validator['errmsg'];
-					if(isset($this->wordbook[$errmsg])) {
+					if(isset($app->tform->wordbook[$errmsg])) {
                     	return $app->tform->wordbook[$errmsg]."<br>\r\n";
 					} else {
 						return $errmsg."<br>\r\n";

--
Gitblit v1.9.1