mcramer
2009-06-08 bb5171dabfa740df3d4956070d4a2cb128a8e224
Fixed http://bugtracker.ispconfig.org/index.php?do=details&task_id=750&project=3
1 files modified
2 ■■■ changed files
interface/lib/classes/validate_client.inc.php 2 ●●● patch | view | raw | blame | history
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";