- Fixed typo: implde() -> implode(). Reported by Moshe.
parent
c39562ae03
commit
83ae5b5c36
|
@ -141,7 +141,7 @@ function user_save($account, $array = array()) {
|
|||
$values[] = serialize($data);
|
||||
$s[] = "'%s'";
|
||||
|
||||
db_query("INSERT INTO {users} (". implde(", ", $fields) .") VALUES (". implde(", ", $s) .")", $values);
|
||||
db_query("INSERT INTO {users} (". implode(", ", $fields) .") VALUES (". implode(", ", $s) .")", $values);
|
||||
|
||||
$user = user_load(array("name" => $array["name"]));
|
||||
}
|
||||
|
|
|
@ -141,7 +141,7 @@ function user_save($account, $array = array()) {
|
|||
$values[] = serialize($data);
|
||||
$s[] = "'%s'";
|
||||
|
||||
db_query("INSERT INTO {users} (". implde(", ", $fields) .") VALUES (". implde(", ", $s) .")", $values);
|
||||
db_query("INSERT INTO {users} (". implode(", ", $fields) .") VALUES (". implode(", ", $s) .")", $values);
|
||||
|
||||
$user = user_load(array("name" => $array["name"]));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue