[phplib] menu.inc troubles under PHP4.04pl1 From: Alexandr E. Bravo (abravo <email protected>)
Date: 01/15/01

Hello,

I used for a while menu class from menu.inc of phplib-7.3-dev under PHP3
without any troubles. Today I switched to current version of PHP4
(4.04pl1) and found that call to normalize_pos (from get_title or get)
leads to infinite loop in this function in two following cases:
1) if the value of the root menu item is empty (like in example)
2) if $PHP_SELF doesn't match any entry in menu tree (which is not
correct but possible situation).

Could you explain me - this is my mistake or misunderstanding or
something else ?

Alexandr Bravo
    abravo <email protected>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>