Switch date and name

Oops, these were being passed-in in the wrong order.
This commit is contained in:
Tom Willemsen 2013-03-21 23:30:52 +01:00
parent aff3e1536a
commit 99e7d7e303

View file

@ -64,7 +64,7 @@ The result contains the url and the name of the bookmark."
(defun insert-bookmark (url name description) (defun insert-bookmark (url name description)
"Insert URL, NAME and DESCRIPTION into the bookmark table." "Insert URL, NAME and DESCRIPTION into the bookmark table."
(execute-non-query *db* "INSERT INTO bookmark VALUES (?, ?, ?, ?)" (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) (defun insert-bookmark-tag (bookmark-id tag-id)
"Insert BOOKMARK-ID and TAG-ID into the bookmark_tag table." "Insert BOOKMARK-ID and TAG-ID into the bookmark_tag table."