Closed (fixed)
Project:
Frequently Asked Questions
Version:
6.x-1.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2009 at 13:01 UTC
Updated:
24 Nov 2009 at 17:05 UTC
Line 1103 of faq.module doesn't check if $back_to_top contains anything.
$node->links['faq_back_to_top'] = $back_to_top;
Quick, but undoubtedly inelegant fix for now is to change that to:
if (!empty($back_to_top)) {
$node->links['faq_back_to_top'] = $back_to_top;
}
I'll look into it properly later when I get a chance.
Comments
Comment #1
Bodo Maass commentedThe same problem happens on 5.x. Your change fixes it, and I see nothing inelegant about it.
Comment #2
stella commentedCommitted, thanks McJim!
Cheers,
Stella
Comment #4
stella commentedReleased in faq 6.x-1.9 and 5.x-2.13.