Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Aug 2013 at 12:08 UTC
Updated:
31 Jan 2015 at 21:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dixon_Cross-linking to #2058501: Provide comment links content type plugin as well.
Comment #3
michelleThis gives me the following error:
"Notice: Undefined index: links in ctools_user_links_content_type_render() (line 42 of /var/www/html/drupal-contrib/sites/all/modules/ctools/plugins/content_types/user_context/user_links.inc)."
The line is:
$block->content = $account->content['links'];
You say, "I know that links for users is not a standard concept". Does that mean these links are not part of core? If so, then I guess the fix would be to check if that array element is there before trying to use it. I took a stab at a patch that gets rid of the error and simply returns nothing if there are no links.
Comment #5
japerryMarking needs work based on comment #3.
Comment #6
japerryThanks dmckenna for taking notice that I was talking about patch 0 and not patch 3. After trying that one, feature looks good.
Fixed!