diff --git a/db/db.update.116.php b/db/db.update.116.php index f6375b1b..ff13c32a 100644 --- a/db/db.update.116.php +++ b/db/db.update.116.php @@ -187,7 +187,7 @@ function db_update_116_post() $sqlset=""; foreach($u AS $f=>$v) { if(!$ur->$f && $j->$f && !in_array($f,$updateexclude)) { - $sqlset.="`$f`='".mysql_real_escape_string($j->$f).", "; + $sqlset.="`$f`='".mysql_real_escape_string($j->$f)."', "; } } $sql="UPDATE users SET $sqlset `types`='{$ur->types},judge',`username`='".mysql_real_escape_string($j->email)."' WHERE id='$id'";