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).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | textlinkads_447880_2.patch | 587 bytes | scottrigby |
| #1 | textlinkads_preview_fix1.diff.patch | 607 bytes | furrymitn |
Comments
Comment #1
furrymitn commentedHere's a patch that does exactly the above...
Comment #2
scottrigbyComment #3
pluginstla_chris commentedThe Inlinks module has been moved to http://drupal.org/project/inlinks