empty node expiry patch
vannus - October 25, 2009 - 17:20
| Project: | Node Expire |
| Version: | 6.x-2.03 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
ive attached a patch to prevent 1970-1-1 coming up when expiry date has been left blank.
(quite annoying having to delete 1970-1-1 every time you amend a node that shouldnt expire)
ive not tested it with nodes that will expire yet! (i dont have cron access on my server yet)
| Attachment | Size |
|---|---|
| node_expire.nodeapi.inc_.diff | 428 bytes |

#1
actually, #405608: Empty Expiration Date Field is filled with bad information! is similar.
#2
improvement - now handles empty default value when creating new node as well as node edits.
(disregard earlier patch/apply this patch to fresh 2.03 version)
#3
Does yours work more effectively? Maybe you can help with this larger patch to get this module working with Drupal 6: http://drupal.org/node/546494
Thank you for your help.
#4
it works for me :)
thanks for mentioning that other one - ill close this now, and make any contributions to #546494: Disable node_expire completely for certain node types.