Skip to content
Snippets Groups Projects
Commit 0a89a575 authored by Lucas García's avatar Lucas García
Browse files

fix: http bridge setting sync on bootstrapped instances

parent 2a5585d5
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,8 @@ class Wpct_Erp_Forms extends BasePlugin
}
$http_setting = Settings::get_setting('wpct-http-bridge', 'general');
foreach ($http_setting as $key => $val) {
$bridge_fields = ['base_url', 'api_key'];
foreach ($bridge_fields as $key) {
$http_setting[$key] = $to[$key];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment