From d00086aea58ecc90caed7fe86d354051bee88092 Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 21 Jan 2009 08:02:45 +0000 Subject: [PATCH] - speaking of errors --- db/db.update.116.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'";