=== modified file 'modules/node.module' --- modules/node.module +++ modules/node.module @@ -1744,9 +1744,11 @@ function node_add($type) { // Allow the following fields to be initialized via $_GET (e.g. for use // with a "blog it" bookmarklet): - foreach (array('title', 'teaser', 'body') as $field) { - if ($_GET['edit'][$field]) { - $node[$field] = $_GET['edit'][$field]; + if ($_GET['edit']) { + foreach (array_keys($_GET['edit']) as $field) { + if ($_GET['edit'][$field]) { + $node[$field] = $_GET['edit'][$field]; + } } } $output = node_form($node);