Took me a long time to track down this bug to this module, but eventually I have.

When inlinks are turned on for a node, previewing the node shows absolutely no content at all.

This is due to the function textlinkads_inlinks_add_links not returning anything when the node id is not set, which is the case in preview.

Adding return $data; at the end of this function should fix the problem (I'm not sure how to write patches so I'll let someone else do that).

Comments

furrymitn’s picture

Status: Active » Needs review
StatusFileSize
new607 bytes

Here's a patch that does exactly the above...

scottrigby’s picture

StatusFileSize
new587 bytes
pluginstla_chris’s picture

Assigned: Unassigned » pluginstla_chris
Status: Needs review » Closed (won't fix)

The Inlinks module has been moved to http://drupal.org/project/inlinks