Commit 135937eb authored by Dries's avatar Dries

- Patch #286378 by TapocoL: fixed undefined index warning.

parent d4ef1db6
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment