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.
Log in to post a comment.
Sign up for the SourceForge newsletter:No, thanks