Skip to content
Snippets Groups Projects
Commit 270eaf22 authored by Tim Steiner's avatar Tim Steiner
Browse files

[gh-119] Merging from testing into staging

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@603 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent e14f1883
No related branches found
No related tags found
No related merge requests found
...@@ -134,6 +134,7 @@ function tac_form_alter(&$form, &$form_state, $form_id) { ...@@ -134,6 +134,7 @@ function tac_form_alter(&$form, &$form_state, $form_id) {
} }
if (!isset($grants[$tid]['list']) || !$grants[$tid]['list']) { if (!isset($grants[$tid]['list']) || !$grants[$tid]['list']) {
$form[$field]['und'][$tid]['#type'] = 'hidden'; $form[$field]['und'][$tid]['#type'] = 'hidden';
$form[$field]['und'][$tid]['#disabled'] = 'TRUE';
$form_state['storage']['tac'][$field][$tid] = $tid; $form_state['storage']['tac'][$field][$tid] = $tid;
$hidden_checkboxes++; $hidden_checkboxes++;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment