node terms lost when unpublish
Gábor Mayer - August 15, 2007 - 23:22
| Project: | Views Actions Links |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
my workaround:
case 'do':
$node->status = '0';
$node->revision = '0';
#if (!array_key_exists('defer', $edit)) {
# node_save($node);
#}
node_operations_unpublish(array($node->nid));