Closed (fixed)
Project:
Quote
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2011 at 15:39 UTC
Updated:
5 Jan 2012 at 18:40 UTC
Having quote module configured for just a few content types, when a node of any other content type is displayed it displays the following notice:
Notice: Undefined variable: links in quote_comment_view() (line 89 of sites/all/modules/quote/quote.module).
Checking the action link hook there shows that links are only altered when two conditions are met, but the links variable is injected regardless of those conditions. Moving the second code block inside the two conditionals solves this situation
Comments
Comment #1
Zen commentedHi,
Thanks for filing the issue. I do not see the notice. But I do see the issue. Fixed and committed :)
Cheers,
-K