Closed (won't fix)
Project:
Drupal core
Version:
5.x-dev
Component:
book.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2007 at 21:52 UTC
Updated:
22 Jun 2011 at 00:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
erdemkose commentedThis bug still exists in current development version. Attached patch is for 6.x-dev. I hope that somebody will backport it.
Comment #2
erdemkose commentedComment #3
pwolanin commentedThis should be fixed already in 6.x - I'm not sure whether it's truly a bug in 5.x.
Comment #4
ainigma32 commentedThis one's really old but I tried this on 5.7 and I can confirm the behaviour as described in the original issue is still current.
I also tested the patch from #1 and it seems to work as designed. Code review of the module found some minor formatting issues but nothing that has to do with this patch.
I only see two drawbacks:
Comment #5
drummThe query is now always executed, even though it is not always used. I would recommend expanding the return statement into an if statement or two, where the query is only run when needed.
Comment #6
ainigma32 commentedHow about someting like this?
Comment #7
dpearcefl commentedConsidering the time elapsed between now and the last comment plus the fact that D5 is no longer supported, I am closing this ticket.