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
Merge requests
!901
Issue
#3222251
: Replace all isset constructs with the null coalescing operator
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Issue
#3222251
: Replace all isset constructs with the null coalescing operator
issue/drupal-3222251:3222251-replace-all-isset
into
9.3.x
Overview
0
Commits
2
Pipelines
0
Changes
334
Closed
Björn Brala
requested to merge
issue/drupal-3222251:3222251-replace-all-isset
into
9.3.x
3 years ago
Overview
0
Commits
2
Pipelines
0
Changes
334
Expand
0
0
Merge request reports
Compare
9.3.x
9.3.x (base)
and
latest version
latest version
31081dc5
2 commits,
3 years ago
334 files
+
574
−
584
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
334
Search (e.g. *.vue) (Ctrl+P)
core/includes/batch.inc
+
1
−
1
Options
@@ -354,7 +354,7 @@ function _batch_process() {
// completion level of the current operation.
$current
=
$total
-
$remaining
+
$finished
;
$percentage
=
_batch_api_percentage
(
$total
,
$current
);
$elapsed
=
isset
(
$current_set
[
'elapsed'
]
)
?
$current_set
[
'elapsed'
]
:
0
;
$elapsed
=
$current_set
[
'elapsed'
]
?
?
0
;
$values
=
[
'@remaining'
=>
$remaining
,
'@total'
=>
$total
,
Loading