- Patch #52433 by Zen: removed redundant db_escape_string().

4.7.x
Dries Buytaert 2006-03-04 18:00:55 +00:00
parent a9ff6cd372
commit 189ad85bcd
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ function user_save($account, $array = array(), $category = 'account') {
// because we don't have a fully initialized user object yet.
foreach ($array as $key => $value) {
if ($key == 'pass') {
$fields[] = db_escape_string($key);
$fields[] = $key;
$values[] = md5($value);
$s[] = "'%s'";
}

View File

@ -162,7 +162,7 @@ function user_save($account, $array = array(), $category = 'account') {
// because we don't have a fully initialized user object yet.
foreach ($array as $key => $value) {
if ($key == 'pass') {
$fields[] = db_escape_string($key);
$fields[] = $key;
$values[] = md5($value);
$s[] = "'%s'";
}