Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
xxsimoxx committed Sep 15, 2021
1 parent 5723c07 commit a1529be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/UpdateClient.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public function filter_component_update_transient($value) {
foreach($components as $component=>$data) {

// If necessary check if the new package come from the right source.
if (defined(__NAMESPACE__.'\SECURE_SOURCE') && isset($data['package']) && strpos($data['package'], SECURE_SOURCE)!== 0) {
if (defined(__NAMESPACE__.'\SECURE_SOURCE') && isset($data['package']) && strpos($data['package'], SECURE_SOURCE) !== 0) {
unset($value->response[$component]);
continue;
}
Expand Down

0 comments on commit a1529be

Please sign in to comment.