forked from science-ation/science-ation
- speaking of errors
This commit is contained in:
parent
af6eb12985
commit
d00086aea5
@ -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'";
|
||||
|
Loading…
x
Reference in New Issue
Block a user