Closed (fixed)
Project:
Flag
Version:
6.x-2.x-dev
Component:
Flag core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2009 at 12:03 UTC
Updated:
16 Nov 2009 at 06:40 UTC
Function flag_get_content_flags has a parameter $flag_name on which only information about this flag should be returned.
But instead the function checks for $flag so it always returns information about all flags on this content.
return isset($flag) ...
should be
return isset($flag_name) ...
Comments
Comment #1
quicksketchThanks, committed attached patch!
Comment #2
quicksketchOops, forgot to make the patch. Here's the commit patch.
http://cvs.drupal.org/viewvc/drupal/contributions/modules/flag/flag.modu...