[#32417] Small bug in menutypes.php. Fix #2329