The hook_flag_link() function signature in flag.api.php does not show any parameters being passed to the function - yet the documentation above it shows 3 parameters. I beleive this function should read:

function hook_flag_link($flag,$action,$entity_id) {

}

Comments

letapjar’s picture

Priority: Normal » Minor
joachim’s picture

Status: Active » Fixed

Thanks for reporting this. Fixed.

  • joachim committed 4054859 on 7.x-3.x
    Issue #2313119 by joachim: Fixed function signature for hook_flag_link...

Status: Fixed » Closed (fixed)

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