File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
classes/WpMatomo/Site/Sync Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -86,14 +86,16 @@ public function get_config_value( $group, $key ) {
8686 if ( isset ( $ config [ $ group ][ $ key ] ) ) {
8787 return $ config [ $ group ][ $ key ];
8888 }
89- } else {
90- Bootstrap::do_bootstrap ();
91- $ config = PiwikConfig::getInstance ();
92- $ the_group = $ config ->{$ group };
93- if ( ! empty ( $ the_group ) && isset ( $ the_group [ $ key ] ) ) {
94- return $ the_group [ $ key ];
95- }
9689 }
90+
91+ Bootstrap::do_bootstrap ();
92+ $ config = PiwikConfig::getInstance ();
93+ $ the_group = $ config ->{$ group };
94+ if ( ! empty ( $ the_group ) && isset ( $ the_group [ $ key ] ) ) {
95+ return $ the_group [ $ key ];
96+ }
97+
98+ return null ;
9799 }
98100
99101 public function set_config_value ( $ group , $ key , $ value ) {
You can’t perform that action at this time.
0 commit comments