Closed (fixed)
Project:
Boost
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 May 2011 at 04:49 UTC
Updated:
4 Jan 2014 at 00:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
AlexisWilke commentedHi guys,
I notice this one too. The reason for the error is that the previous 3 statements using empty().
If you do that with the $args array, then so should you with the $menu_args array. Or as offered by Peter, use one extra isset() or !empty() test in the loop:
Since you use empty() everywhere else, I guess this would be the fix.
Thank you.
Alexis
Comment #2
asb commentedPatch, please?
Comment #3
AlexisWilke commentedI don't understand why anyone would need a patch to change one small entry when it's already shown in an issue.
Comment #4
bgm commentedCommitted to 6.x-1.x. Thanks for the fix.
Comment #5
asb commented@Alexis: Because proper patches tend to increase the probability to get committed. This one took almost half a year, even with a patch, and I have a large number of fixes without patches in my watchlist that are not being committed for years.
So thank you very much for taking the time to analyze this issue and roll a patch!