Skip to content

Commit

Permalink
Fix a PHP8 deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
imath committed Aug 20, 2021
1 parent da1634e commit c557456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bp-groups/bp-groups-template.php
Expand Up @@ -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 );

Expand Down

0 comments on commit c557456

Please sign in to comment.