From 7c63dbccc837624f93a0a13037a09e14d0474cdd Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Tue, 11 Mar 2003 08:43:59 +0000 Subject: - Fixing typos. --- modules/node/node.module | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/node') diff --git a/modules/node/node.module b/modules/node/node.module index 7e8975530..cbb475500 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -879,11 +879,11 @@ function node_validate($node, &$error) { // Validate for normal users: $node->uid = $user->uid ? $user->uid : 0; // Force defaults in case people modify the form: - $node->status = variable_get("node_status_$edit->type", 1); - $node->promote = variable_get("node_promote_$edit->type", 1); - $node->moderate = variable_get("node_moderate_$edit->type", 0); - $node->static = variable_get("node_static_$edit->type", 0); - $node->revision = variable_get("node_revision_$edit->type", 0); + $node->status = variable_get("node_status_$node->type", 1); + $node->promote = variable_get("node_promote_$node->type", 1); + $node->moderate = variable_get("node_moderate_$node->type", 0); + $node->static = variable_get("node_static_$node->type", 0); + $node->revision = variable_get("node_revision_$node->type", 0); unset($node->created); } -- cgit v1.2.3