Skip to content

Commit

Permalink
fix phpcs errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkeschiren committed Dec 18, 2024
1 parent 1332031 commit 5bf6d43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/SitesManager/API.php
Original file line number Diff line number Diff line change
Expand Up @@ -807,11 +807,10 @@ private function setSettingValue($fieldName, $value, $coreProperties, $settingVa
if (empty($coreProperties[$pluginName])) {
$coreProperties[$pluginName] = [];
}
if (isset($setting['value'])){
if (isset($setting['value'])) {
$coreProperties[$pluginName][] = ['name' => $fieldName, 'value' => $setting['value']];
return $coreProperties;
}

}
}
}
Expand Down

0 comments on commit 5bf6d43

Please sign in to comment.