Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
135937eb
Commit
135937eb
authored
Jul 24, 2008
by
Dries
Browse files
- Patch
#286378
by TapocoL: fixed undefined index warning.
parent
d4ef1db6
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/user/user.admin.inc
View file @
135937eb
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment