Skip to content

Commit

Permalink
Missing strict compare in new method
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix128 committed Oct 24, 2018
1 parent 18ca5f0 commit bd80b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Sales/Model/Order/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ private function getStatusLabelForArea(string $code, string $area): string
$code = $this->maskStatusForArea($area, $code);
$status = $this->orderStatusFactory->create()->load($code);

if ($area == 'adminhtml') {
if ($area === 'adminhtml') {
return $status->getLabel();
}

Expand Down

0 comments on commit bd80b1a

Please sign in to comment.