Closed (fixed)
Project:
Flag
Version:
6.x-2.x-dev
Component:
Flag core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2011 at 10:14 UTC
Updated:
13 Feb 2011 at 10:40 UTC
The patch for "inconsistent ordering" broke the import page because the flag name is now the array key.
Comments
Comment #1
mooffie commentedFixed.
http://drupal.org/cvs?commit=491598
http://drupal.org/cvs?commit=491600
(The variable names were changed to match the ones in flag_get_default_flags().)
Comment #2
mooffie commentedAnd I added backward compatibility code:
http://drupal.org/cvs?commit=491602
http://drupal.org/cvs?commit=491604
It matches the one in flag_get_default_flags().
(I don't like this bloat so I didn't include it at the beginning. But, on second thought, perhaps some users are keeping a lot of configuration in old text files --we don't want to make them sad.)