diff --git a/interface/lib/classes/validate_client.inc.php b/interface/lib/classes/validate_client.inc.php
index f7212983e5b8876b494d743c9466e189b67083b7..1124d72e48a022f75bfde884f2760cf26a782fbc 100644
--- a/interface/lib/classes/validate_client.inc.php
+++ b/interface/lib/classes/validate_client.inc.php
@@ -40,7 +40,7 @@ class validate_client {
         	$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";