Closed (fixed)
Project:
Node Moderation
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2005 at 02:36 UTC
Updated:
4 Feb 2005 at 03:15 UTC
The nmoderation_threshold_unpublish is not working properly. There was a change introduced in Revision 1.10.2.3 of the 4.5 branch that is causing nodes to not be unpublished even though the threshold has been reached. I think the culprit is near line 321:
elseif ($row->score < variable_get('nmoderation_threshold_unpublish', 4)) {
$node->promote = 0;
node_save($node);
should be this instead:
$node->status = 0;
Comments
Comment #1
moshe weitzman commentednice catch ... a copy/paste bug.
fixed
Comment #2
(not verified) commented