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

Zen’s picture

Version: 7.x-1.1-alpha1 » 7.x-1.x-dev
Status: Active » Fixed

Hi,

Thanks for filing the issue. I do not see the notice. But I do see the issue. Fixed and committed :)

Cheers,
-K

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.