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
3bc98cb7
Commit
3bc98cb7
authored
Sep 28, 2011
by
catch
Browse files
Issue
#1118404
by Damien Tournoud, keichee, bfroehle: Fixed 'Manual updates required' table broken.
parent
6bde912a
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/update/update.manager.inc
View file @
3bc98cb7
...
...
@@ -162,10 +162,16 @@ function update_manager_update_form($form, $form_state = array(), $context) {
$needs_manual
=
$project
[
'project_type'
]
==
'core'
;
if
(
$needs_manual
)
{
// Since it won't be tableselect, #weight will add an extra column to the
// table if it's defined, so just unset it. The order doesn't matter that
// much in the manual updates table, anyway.
// There are no checkboxes in the 'Manual updates' table so it will be
// rendered by theme('table'), not theme('tableselect'). Since the data
// formats are incompatible, we convert now to the format expected by
// theme('table').
unset
(
$entry
[
'#weight'
]);
$attributes
=
$entry
[
'#attributes'
];
unset
(
$entry
[
'#attributes'
]);
$entry
=
array
(
'data'
=>
$entry
,
)
+
$attributes
;
}
else
{
$form
[
'project_downloads'
][
$name
]
=
array
(
...
...
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