node_clone link in views was breaking my website:


PHP Fatal error:  Cannot access empty property in /sites/all/modules/node_clone/views/views_handler_field_node_link_clone.inc on line 21

until I've fixed the code of
/views/views_handler_field_node_link_clone.inc.

The patch is attached.

CommentFileSizeAuthor
#1 node_clone.diff1.58 KBrestyler
node_clone.diff3.05 KBrestyler

Comments

restyler’s picture

StatusFileSize
new1.58 KB

oops, wrong patch. here is the correct one.

delete dpm() call after applying patch.

xibun’s picture

+1

johnv’s picture

Status: Active » Closed (duplicate)

See #1246894: Views 3 "Clone link" field handler , which has a more extended patch and mre followers.