diff options
-rw-r--r-- | modules/node.module | 4 | ||||
-rw-r--r-- | modules/node/node.module | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/modules/node.module b/modules/node.module index 27de41300..62f3345d1 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1076,10 +1076,6 @@ function node_validate($node) { $node->date = format_date($node->created, 'custom', 'Y-m-d H:i O'); } - if (!is_numeric($node->status)) { - $node->status = 1; - } - // Validate the "authored by" field. if (empty($node->name)) { // The use of empty() is mandatory in the context of usernames diff --git a/modules/node/node.module b/modules/node/node.module index 27de41300..62f3345d1 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1076,10 +1076,6 @@ function node_validate($node) { $node->date = format_date($node->created, 'custom', 'Y-m-d H:i O'); } - if (!is_numeric($node->status)) { - $node->status = 1; - } - // Validate the "authored by" field. if (empty($node->name)) { // The use of empty() is mandatory in the context of usernames |