The hook_menu entry in localizernode.module is not specific to nodes with IDs, and just happens not to show up because no other tabs show up on these nodes. It would be safer to check arg(0) for 'node' and that arg(1) is numeric. This way when other modules make the same mistake, the Localizer 'Translations' tab doesn't show up with them.

patch attached

CommentFileSizeAuthor
localizernode.module.menu_fix.patch853 bytesbuchanae

Comments

buchanae’s picture

Status: Active » Needs review
Roberto Gerola’s picture

Status: Needs review » Reviewed & tested by the community

Many thanks.

Added to dev branch.