Problem/Motivation

Currently _bs_base_array_unique_lines() will skip lines which are already detected. This is a problem because commented or not commented @import is considered the same in preg_match. If this happens then we will lose the latest import comment state.

We should count duplicates also and the last duplicate value should be the one that we are using.

Comments

pivica created an issue. See original summary.

pivica’s picture

Here is a patch.

pivica’s picture

Status: Active » Needs review
pivica’s picture

Issue tags: +next-point-release-merge

  • pivica committed c48492e on 8.x-1.x
    Issue #3030515 by pivica: Multiple unique lines hits should override it...
pivica’s picture

Status: Needs review » Fixed
Issue tags: -next-point-release-merge

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.