$ [#26548] [patch] incorrect error check in menus.php. Thanks Rob
Clayburn and Ben Tasker
(Fix #1012)