diff --git a/src/bp-groups/bp-groups-template.php b/src/bp-groups/bp-groups-template.php index 4abee03..34967e7 100644 --- a/src/bp-groups/bp-groups-template.php +++ b/src/bp-groups/bp-groups-template.php @@ -199,7 +199,7 @@ function bp_group_form_action( $url = '', $group = null ) { * @param bool $nonce Whether or not to add a nonce. * @return string URL for a group component action built for the BP Rewrites URL parser. */ -function bp_get_groups_action_link( $url = '', $action = '', $query_args = array(), $nonce ) { +function bp_get_groups_action_link( $url = '', $action = '', $query_args = array(), $nonce = false ) { $action_variables = explode( '/', $action ); $action = array_shift( $action_variables );