#15 Leading blank lines in menu file case error

open
nobody
None
5
2006-07-07
2006-07-07
Anonymous
No

Insertion of a blank line prior to the menu structure
defined in a txt file is sufficient to cause an
"Undefined Offset" error on line 418 of
layersmenu.inc.php. As a result of the error, submenus
will not be expanded correctly.

Blank lines inserted between two menu items does not
cause a similar problem.

Trailing blank lines do not cause a similar problem.

This behavior was discovered while adding comments to
menu structure files. Although a leading comment does
not cause a problem, a blank line between the comment
and the beginning of the menu structure causes the
error mentioned above.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks