Closed (won't fix)
Project:
Taxonomy Access Control Lite
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Jul 2008 at 11:48 UTC
Updated:
26 Jun 2013 at 02:25 UTC
If you have more than one scheme, on the user access page, default values of the second or third scheme are those of the first one.
Here is a bit of code that needs review to correct it :
on original :
foreach ($vids as $vid) {
$v = taxonomy_get_vocabulary($vid);
$form['tac_lite'][$config['realm']][$vid] =
_taxonomy_term_select($v->name,
null, // name no longer used in new form api
$account->tac_lite[$vid],
on modified :
foreach ($vids as $vid) {
$v = taxonomy_get_vocabulary($vid);
$t=$config['realm'];
$a=$account->$t;
$form['tac_lite'][$config['realm']][$vid] =
_taxonomy_term_select($v->name,
null, // name no longer used in new form api
$a[$vid],
Enclosed patch also.
Comments
Comment #1
tinker commented5.x version no longer supported.