Skip to content

Commit bb5171d

Browse files
author
mcramer
committed
1 parent 16230fd commit bb5171d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/validate_client.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function username_unique($field_name, $field_value, $validator) {
4040
$num_rec = $app->db->queryOneRecord("SELECT count(*) as number FROM sys_user WHERE username = '".$app->db->quote($field_value)."'");
4141
if($num_rec["number"] > 0) {
4242
$errmsg = $validator['errmsg'];
43-
if(isset($this->wordbook[$errmsg])) {
43+
if(isset($app->tform->wordbook[$errmsg])) {
4444
return $app->tform->wordbook[$errmsg]."<br>\r\n";
4545
} else {
4646
return $errmsg."<br>\r\n";

0 commit comments

Comments
 (0)