Closed tormec closed 4 years ago
foo:0:start becomes foo:start and causes infinite loop ending with a PHP error.
foo:0:start
foo:start
The reason is that array_filter() called here https://github.com/tormec/AcMenu/blob/3f7d11e9b61146ae58a618c09aa114508022d26a/syntax.php#L289 and here https://github.com/tormec/AcMenu/blob/3f7d11e9b61146ae58a618c09aa114508022d26a/syntax.php#L309 remove false entries.
false
foo:0:start
becomesfoo:start
and causes infinite loop ending with a PHP error.The reason is that array_filter() called here https://github.com/tormec/AcMenu/blob/3f7d11e9b61146ae58a618c09aa114508022d26a/syntax.php#L289 and here https://github.com/tormec/AcMenu/blob/3f7d11e9b61146ae58a618c09aa114508022d26a/syntax.php#L309 remove
false
entries.