Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
simple_sitemap
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
simple_sitemap
Commits
1a6ceaeb
Commit
1a6ceaeb
authored
May 16, 2019
by
Pawel G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3055038
by johnjw59, gbyte.co: Duplicate root paths not removed
parent
48cb5328
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Queue/QueueWorker.php
src/Queue/QueueWorker.php
+1
-1
No files found.
src/Queue/QueueWorker.php
View file @
1a6ceaeb
...
...
@@ -272,7 +272,7 @@ class QueueWorker {
protected
function
removeDuplicates
(
&
$results
)
{
if
(
$this
->
generatorSettings
[
'remove_duplicates'
]
&&
!
empty
(
$results
))
{
$result
=
$results
[
key
(
$results
)];
if
(
!
empty
(
$result
[
'meta'
][
'path'
]))
{
if
(
isset
(
$result
[
'meta'
][
'path'
]))
{
if
(
in_array
(
$result
[
'meta'
][
'path'
],
$this
->
processedPaths
))
{
$results
=
[];
}
...
...
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