You forgot to update your views integration code when you renamed your access callback function.

Line 25 of views_handler_field_node_link_clone.inc still reads:

if (!clone_access($node)) {

Should be:

if (!clone_access_cloning($node)) {

Current code results in an error if you try to add the link field to a view:

"Call to undefined function clone_access()"

CommentFileSizeAuthor
#1 877442-views-access-1.patch837 bytespwolanin

Comments

pwolanin’s picture

Status: Active » Needs review
StatusFileSize
new837 bytes

oops - thanks for catching that.

pwolanin’s picture

Status: Needs review » Fixed

committed - rolling a new release since this is obviously going to bork lots of people.

Status: Fixed » Closed (fixed)

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