Closed (fixed)
Project:
Frequently Asked Questions
Version:
6.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2008 at 02:46 UTC
Updated:
5 Jan 2009 at 22:43 UTC
It took me forever to figure out why the FAQ page suddenly broke for no reason. I had to test the entire module until I finally figured out the problem in the last function I looked at. Line 1055, where the link_alter functions are called is reversed. If one of your modules implements that hook and uses the links in a certain way, the faq page will break (blank white screen). Here is the fix:
In faq.module, line 1055, it says:
$function($node, $node->links);
this should be changed to:
$function($node->links, $node);
That will fix the problem
Comments
Comment #1
HS commentedddyrr,
Do you happen to know which modules conflict with the FAQ module?
Comment #2
ddyrr commentedThe only one I know for sure is statistics_advanced, but if you look up hook_link_alter, you'll see that it is in the wrong order in the faq module, so it should probably be fixed at some point anyway.
Comment #3
stella commentedFixed, will be included in the next release.
Cheers,
Stella
Comment #5
stella commentedReleased in 6.x-1.8.