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

merge-requests/26/head
Dries Buytaert 2008-07-24 16:28:52 +00:00
parent d4ef1db69c
commit 135937eb03
1 changed files with 1 additions and 1 deletions

View File

@ -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.