- Patch #286378 by TapocoL: fixed undefined index warning.
parent
d4ef1db69c
commit
135937eb03
|
@ -582,7 +582,7 @@ function theme_user_admin_perm($form) {
|
|||
$row = array();
|
||||
// Module name
|
||||
if (is_numeric($key)) {
|
||||
$row[] = array('data' => t('@module module', array('@module' => drupal_render($form['permission'][$key]))), 'class' => 'module', 'id' => 'module-' . $form['permission'][$key]['#value'], 'colspan' => count($form['role_names']) + 1);
|
||||
$row[] = array('data' => t('@module module', array('@module' => drupal_render($form['permission'][$key]))), 'class' => 'module', 'id' => 'module-' . $form['permission'][$key]['#markup'], 'colspan' => count($form['role_names']) + 1);
|
||||
}
|
||||
else {
|
||||
// Permission row.
|
||||
|
|
Loading…
Reference in New Issue