Closed (fixed)
Project:
Custom Tokens
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2009 at 09:55 UTC
Updated:
15 Jul 2009 at 20:10 UTC
warning: Missing argument 1 for _token_custom_delete_page() in token_custom\token_custom.module on line 312
on admin/build/tokens/delete page.
Comments
Comment #1
hanoiiHow did you access 'admin/build/tokens/delete'? I don't see any link to it from within the module, have you typed it manually? That URL alone should not be linked from anywhere, there should always be an integer appended:
admin/buid/tokens/delete/, that works OK.
Comment #2
kenorb commentedI found it by mistake, when I wanted to remove manually one custom token, when I couldn't remove it in normal way because it was behind my right block.
It's not linked anywhere, but in my opinion all warnings should be fixed for security reasons.
If not, that's fine.
Comment #3
hanoiiAfter further thoughts, I improved the menu callbacks with better paths and the use of the menu loaders. Some functions were removed and the warning would not happen again, committed to D6 branch, not sure if I will release a new version with this though.