Menu

#1 Leading blank lines in menu file cause error

v. 4.0.4
closed
ank-99
None
5
2014-12-02
2007-06-18
ank-99
No

This is a deplication of bug number 1518999 from the phplayersmenu project:

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

  • ank-99

    ank-99 - 2014-12-02

    This could not be verified in v 4.0.4 and behaviour is normal.

     
  • ank-99

    ank-99 - 2014-12-02
    • status: open --> closed
    • assigned_to: ank-99
    • Group: --> v1.0 (example)
     

Log in to post a comment.

MongoDB Logo MongoDB