Skip to:
Content

BuddyPress.org

Changeset 13650


Ignore:
Timestamp:
11/25/2023 01:18:49 PM (13 months ago)
Author:
imath
Message:

Avoid a PHP 8.2 Warning when getting the group URL in Admin list table

Props renatonascalves

Fixes #8820
Closes https://github.com/buddypress/buddypress/pull/162

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/classes/class-bp-groups-list-table.php

    r13482 r13650  
    589589        $delete_url = wp_nonce_url( $base_url . "&action=delete", 'bp-groups-delete' );
    590590        $edit_url   = $base_url . '&action=edit';
    591         $view_url   = bp_get_group_url( $item_obj );
     591        $view_url   = bp_get_group_url( $item['id'] );
    592592
    593593        /**
Note: See TracChangeset for help on using the changeset viewer.