Reviewed & tested by the community
Project:
Localizer
Version:
5.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2007 at 22:24 UTC
Updated:
25 Jul 2007 at 08:29 UTC
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
| Comment | File | Size | Author |
|---|---|---|---|
| localizernode.module.menu_fix.patch | 853 bytes | buchanae |
Comments
Comment #1
buchanae commentedComment #2
Roberto Gerola commentedMany thanks.
Added to dev branch.