The field "Content revision" Delete link" produces broken links as well as notices like these:

Notice: Undefined index: type in views_handler_field->get_value() (line 337 of .../sites/all/modules/views/handlers/views_handler_field.inc).
Notice: Undefined property: stdClass::$vid in views_handler_field_node_revision_link_delete->render_link() (line 29 of .../sites/all/modules/views/modules/node/views_handler_field_node_revision_link_delete.inc)

Attached, in next comment, a patch.

PS: while you're down there, you may also want to check whether in D7 it is appropriate to user_access('administer nodes'); and

    $node->status = 1; // unpublished nodes ignore access control

I believe these are very D6 and may no longer be necessary or in fact desired in D7.

Comments

rdeboer’s picture

StatusFileSize
new1.17 KB

Here's the pach

dawehner’s picture

Status: Active » Needs review

Update status.

dawehner’s picture

Status: Needs review » Fixed

Thanks commited to 7.x-3.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.