Commit 6478df8a authored by Christian Wach's avatar Christian Wach
Browse files

Fix incorrectly-called method

parent 7d3f405a
......@@ -103,7 +103,7 @@ class CRM_CiviNetworkGroups_Form_Inline_CiviNetworkGroups extends CRM_Contact_Fo
$errors = array();
// If the flag is set to switch to main site.
$switch = civicrm_network_groups()->plugin->admin->setting_get( 'main' );
$switch = civicrm_network_groups()->admin->setting_get( 'main' );
if ( $switch == 'y' ) {
// Switch to main site.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment