Skip to content

Commit

Permalink
Integrated pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrian Iliev committed Mar 7, 2023
1 parent ea2d048 commit 4d648b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public function getFlexMethods($scopeId = null)
$scopeId
);

return !is_array($methods) ? (array) json_decode($methods, true) : $methods;
return is_string($methods) ? (array) json_decode($methods, true) : $methods;
}

/**
Expand Down

0 comments on commit 4d648b5

Please sign in to comment.