aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-03-21 23:30:52 +0100
committerGravatar Tom Willemsen2013-03-21 23:30:52 +0100
commit99e7d7e303ffab779160f84ceb086aab9e5df065 (patch)
tree60e1755d3b61392df5f2abae7607300e42408eb7
parentaff3e1536af3c9802c56716d4f4a52c5aaaab436 (diff)
downloadclark-99e7d7e303ffab779160f84ceb086aab9e5df065.tar.gz
clark-99e7d7e303ffab779160f84ceb086aab9e5df065.zip
Switch date and name
Oops, these were being passed-in in the wrong order.
-rw-r--r--clark.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clark.lisp b/clark.lisp
index 742dd77..072a6cc 100644
--- a/clark.lisp
+++ b/clark.lisp
@@ -64,7 +64,7 @@ The result contains the url and the name of the bookmark."
(defun insert-bookmark (url name description)
"Insert URL, NAME and DESCRIPTION into the bookmark table."
(execute-non-query *db* "INSERT INTO bookmark VALUES (?, ?, ?, ?)"
- url name (get-universal-time) description))
+ url (get-universal-time) name description))
(defun insert-bookmark-tag (bookmark-id tag-id)
"Insert BOOKMARK-ID and TAG-ID into the bookmark_tag table."