Commit a1a3d53c authored by Dries's avatar Dries

- Patch #22262 by Robert: removed extra comma from SQL query.

parent 74d614c9
......@@ -123,7 +123,7 @@ function user_save($account, $array = array(), $category = 'account') {
}
}
}
$query .= "data = '%s', ";
$query .= "data = '%s' ";
$v[] = serialize($data);
db_query("UPDATE {users} SET $query WHERE uid = %d", array_merge($v, array($account->uid)));
......
......@@ -123,7 +123,7 @@ function user_save($account, $array = array(), $category = 'account') {
}
}
}
$query .= "data = '%s', ";
$query .= "data = '%s' ";
$v[] = serialize($data);
db_query("UPDATE {users} SET $query WHERE uid = %d", array_merge($v, array($account->uid)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment