Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
3bc98cb7
Commit
3bc98cb7
authored
13 years ago
by
catch
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1118404
by Damien Tournoud, keichee, bfroehle: Fixed 'Manual updates required' table broken.
parent
6bde912a
No related branches found
Branches containing commit
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/update/update.manager.inc
+9
-3
9 additions, 3 deletions
modules/update/update.manager.inc
with
9 additions
and
3 deletions
modules/update/update.manager.inc
+
9
−
3
View file @
3bc98cb7
...
@@ -162,10 +162,16 @@ function update_manager_update_form($form, $form_state = array(), $context) {
...
@@ -162,10 +162,16 @@ function update_manager_update_form($form, $form_state = array(), $context) {
$needs_manual
=
$project
[
'project_type'
]
==
'core'
;
$needs_manual
=
$project
[
'project_type'
]
==
'core'
;
if
(
$needs_manual
)
{
if
(
$needs_manual
)
{
// Since it won't be tableselect, #weight will add an extra column to the
// There are no checkboxes in the 'Manual updates' table so it will be
// table if it's defined, so just unset it. The order doesn't matter that
// rendered by theme('table'), not theme('tableselect'). Since the data
// much in the manual updates table, anyway.
// formats are incompatible, we convert now to the format expected by
// theme('table').
unset
(
$entry
[
'#weight'
]);
unset
(
$entry
[
'#weight'
]);
$attributes
=
$entry
[
'#attributes'
];
unset
(
$entry
[
'#attributes'
]);
$entry
=
array
(
'data'
=>
$entry
,
)
+
$attributes
;
}
}
else
{
else
{
$form
[
'project_downloads'
][
$name
]
=
array
(
$form
[
'project_downloads'
][
$name
]
=
array
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment