Closed (fixed)
Project:
Forward
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Feb 2011 at 09:22 UTC
Updated:
6 Jun 2011 at 05:14 UTC
Jump to comment: Most recent file
When I enable the module to use a collapsible form instead of a link, I get the following error when viewing nodes:
Notice: Undefined property: stdClass::$in_preview in forward_node_view() (line 1057 of [...]/forward/forward.module).
$node->in_preview seems to have been removed from Drupal 6 at some point, but I'm not sure what the replacement in Drupal 7 is.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | forward.patch | 1.26 KB | mishac |
Comments
Comment #1
mishac commentedI've added a patch that fixes the problem, and a few other issues in the next couple of lines of code. The forward form wasn't being rendered at all before, but seems to work for me now.
Comment #2
mishac commentedComment #3
john.oltman commentedI will take a look at this and include in the next build if it pans out
Comment #4
john.oltman commentedFix committed and will be in the next DEV build
Comment #5
john.oltman commented