diff --git a/content.module b/content.module index 167ed66..330e5d6 100644 --- a/content.module +++ b/content.module @@ -1048,7 +1048,7 @@ function content_storage($op, $node) { // fields are added to content types -- either a NULL value // or the default value? May need to offer the user an option of // how to handle that. - if (db_result(db_query_range("SELECT 1 FROM {". $table ."} WHERE vid = %d", $node->vid, 0, 1))) { + if ($op == 'update' && db_result(db_query_range("SELECT 1 FROM {". $table ."} WHERE vid = %d", $node->vid, 0, 1))) { content_write_record($table, $record, array('vid')); } else {