Active
Project:
User Relationships
Version:
7.x-1.x-dev
Component:
Node Access
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2012 at 14:16 UTC
Updated:
31 Jul 2012 at 09:17 UTC
error essentially says variable $node not set line 211 of user_relationship_node_access.module
can be suppressed by changing line 211 from
$is_group_post = module_exists('og') && og_is_group_content_type('node', $node->type);
to
$is_group_post = module_exists('og') && isset($node) && og_is_group_content_type('node', $node->type);
but ideally the function could use a conditional or be split into multiple functions (probably preferable) as this section of code is unnecessary on account pages.
Comments
Comment #1
simon georges commented