Remove node sets $node->status = -1

dmadruga - June 10, 2009 - 20:38
Project:abuse
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When I "remove" a node through the admin interface of Abuse the node status is set to -1. It seems status -1 doesn't mean anything for D6. I change the code to set $node->status = 0 instead of -1.

Find patch attached.

AttachmentSize
abuse.module.nodestatus.dmadruga.patch884 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.