--- scheduler.module.1_34patched Tue May 2 19:23:29 2006 +++ scheduler.module Tue May 2 20:44:11 2006 @@ -280,7 +280,7 @@ function _scheduler_hour_format($hour) { function scheduler_cron() { // If we are past the posting time, then post. - $result = db_query('SELECT s.nid, s.timestamp_posted, s.timestamp_hidden FROM {scheduler} s LEFT JOIN {node} n ON s.nid = n.nid WHERE n.status = 0 AND s.timestamp_posted > 0 AND s.timestamp_posted < %d', time()); + $result = db_query('SELECT s.nid, s.timestamp_posted, s.timestamp_hidden FROM {scheduler} s LEFT JOIN {node} n ON s.nid = n.nid WHERE n.moderate != 1 AND n.status = 0 AND s.timestamp_posted > 0 AND s.timestamp_posted < %d', time()); $numpost = db_num_rows($result); while ($node = db_fetch_object($result)) { db_query('UPDATE {node} SET created = %d, changed = %d, status = 1 WHERE nid = %d', $node->timestamp_posted, $node->timestamp_posted, $node->nid); @@ -366,4 +366,4 @@ function scheduler_nodetime(&$node, $typ } } -?> \ No newline at end of file +?>