Installed module and when I visit: site.com/flag

I get this:

* warning: Missing argument 1 for flag_page() in /home/user/site.com/sites/all/modules/flag/flag.module on line 837.
* warning: Missing argument 2 for flag_page() in /home/user/site.com/sites/all/modules/flag/flag.module on line 837.
* warning: Missing argument 3 for flag_page() in /home/user/site.com/sites/all/modules/flag/flag.module on line 837.

And of course I get this below it:

Bad token. You seem to have followed an invalid link.
You are not authorized to access this page.

But I believe that's what it's suppose to do. Just thought I point this out.

Cheers.

CommentFileSizeAuthor
#1 flag_page_errors.patch629 bytesquicksketch

Comments

quicksketch’s picture

Status: Active » Fixed
StatusFileSize
new629 bytes

Even though you shouldn't ever be visiting that URL directly, it's an easy fix. Corrected with this patch.

00110000’s picture

Thx :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.