Skip to content

Commit

Permalink
Correct bug 21993 config:set not storing scoped values
Browse files Browse the repository at this point in the history
  • Loading branch information
ochnygosch committed Mar 28, 2019
1 parent 212a533 commit f826017
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ public function process($path, $value, $scope, $scopeCode)
}

try {
$config = $this->configFactory->create([
$config = $this->configFactory->create(['data' => [
'scope' => $scope,
'scope_code' => $scopeCode,
]);
]]);
$config->setDataByPath($path, $value);
$config->save();
} catch (\Exception $exception) {
Expand Down

0 comments on commit f826017

Please sign in to comment.