Commit 8218443c authored by Alexander Butenko's avatar Alexander Butenko

fix a typo in manual

parent 5f947970
...@@ -126,7 +126,7 @@ $data = Array ("login" => "admin", ...@@ -126,7 +126,7 @@ $data = Array ("login" => "admin",
"createdAt" => $db->now(), "createdAt" => $db->now(),
"updatedAt" => $db->now(), "updatedAt" => $db->now(),
); );
$updateColumns = Array ("updateAt"); $updateColumns = Array ("updatedAt");
$lastInsertId = "id"; $lastInsertId = "id";
$db->onDuplicate($updateColumns, $lastInsertId); $db->onDuplicate($updateColumns, $lastInsertId);
$id = $db->insert ('users', $data); $id = $db->insert ('users', $data);
......
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