Commit 83ae5b5c authored by Dries's avatar Dries

- Fixed typo: implde() -> implode().  Reported by Moshe.
parent c39562ae
...@@ -141,7 +141,7 @@ function user_save($account, $array = array()) { ...@@ -141,7 +141,7 @@ function user_save($account, $array = array()) {
$values[] = serialize($data); $values[] = serialize($data);
$s[] = "'%s'"; $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"])); $user = user_load(array("name" => $array["name"]));
} }
......
...@@ -141,7 +141,7 @@ function user_save($account, $array = array()) { ...@@ -141,7 +141,7 @@ function user_save($account, $array = array()) {
$values[] = serialize($data); $values[] = serialize($data);
$s[] = "'%s'"; $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"])); $user = user_load(array("name" => $array["name"]));
} }
......
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