From 124694ee4dbcc1df5dfc2d419ed2393619883071 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 27 Jun 2001 18:06:36 +0000 Subject: - Fixed bug node.module bug: + the node scheduler did not un-schedule a node! - Fixed comment bugs (as a result of the formification): + no signatures where being attached to the comments. + check_input was used where is should have been check_output, with broken filters as the immediate result. --- modules/node/node.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index 92bf70690..7bc148177 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -65,8 +65,8 @@ function node_filter($text) { function node_cron() { db_query("UPDATE node SET status = '". node_status("posted") ."', timestamp_posted = '' WHERE timestamp_posted > 0 AND timestamp_posted < ". time()); - db_query("UPDATE node SET status = '". node_status("queued") ."', timestamp_posted = '' WHERE timestamp_queued > 0 AND timestamp_queued < ". time()); - db_query("UPDATE node SET status = '". node_status("dumped") ."', timestamp_posted = '' WHERE timestamp_hidden > 0 AND timestamp_hidden < ". time()); + db_query("UPDATE node SET status = '". node_status("queued") ."', timestamp_queued = '' WHERE timestamp_queued > 0 AND timestamp_queued < ". time()); + db_query("UPDATE node SET status = '". node_status("dumped") ."', timestamp_hidden = '' WHERE timestamp_hidden > 0 AND timestamp_hidden < ". time()); } function node_link($nid, $type) { -- cgit v1.2.3