Index: vote_storylink.module =================================================================== RCS file: /cvs/drupal/contributions/modules/vote_up_down/vote_storylink.module,v retrieving revision 1.14 diff -u -r1.14 vote_storylink.module --- vote_storylink.module 1 May 2006 13:43:33 -0000 1.14 +++ vote_storylink.module 8 Aug 2006 07:30:59 -0000 @@ -171,20 +171,10 @@ function vote_storylink_prepare(&$node) { // Allow the following fields to be initialized via $_GET (e.g. for use // with a "blog it" bookmarklet): - foreach (array('title', 'body') as $field) { - if ($_GET['edit'][$field]) { - $node->$field = $_GET['edit'][$field]; - } - } - - if (isset($_POST['edit']['vote_storylink_url'])) { - $node->vote_storylink_url = $_POST['edit']['vote_storylink_url']; - } - elseif ($_GET['edit']['url']) { - $node->vote_storylink_url = check_url($_GET['edit']['url']);; - } - elseif (empty($node->vote_storylink_url)) { - $node->vote_storylink_url = 'http://'; + if (!$node->nid) { + $node->title = $_GET['title']; + $node->body = $_GET['description']; + $node->vote_storylink_url = check_url($_GET['url']);; } vote_storylink_node_build($node); }