In src\Plugin\Preprocess\Region.php, line 41, shouldn't the if check $region_wells, not $wells?

Current:

static $region_wells;
if (!isset($wells)) {
  $region_wells = $this->theme->getSetting('region_wells');
}

Correct?

static $region_wells;
if (!isset($region_wells)) {
  $region_wells = $this->theme->getSetting('region_wells');
}
CommentFileSizeAuthor
#2 change_variable_name-2744337-2.patch528 bytespifagor

Comments

seworthi created an issue. See original summary.

pifagor’s picture

Status: Active » Needs review
Issue tags: +Needs tests
StatusFileSize
new528 bytes

Add patch

pifagor’s picture

Issue tags: -Needs tests
pifagor’s picture

Issue tags: +Needs tests

  • markcarver committed 2fb3596 on 8.x-3.x authored by pifagor
    Issue #2744337 by pifagor: Possible incorrect variable name
    
markhalliwell’s picture

Status: Needs review » Fixed
Issue tags: -Needs tests

Ah! Great catch @pifagor!

Status: Fixed » Closed (fixed)

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

pifagor’s picture