Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/28/2020 09:21:09 PM (5 years ago)
Author:
boonebgorges
Message:

isset() checks for a variety of variable references.

This helps to avoid PHP notices in 7.4+.

See #8264.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-friends/bp-friends-activity.php

    r12589 r12602  
    313313
    314314    // Get the requested action.
    315     $action = $filter['filter']['action'];
     315    $action = isset( $filter['filter']['action'] ) ? $filter['filter']['action'] : array();
    316316
    317317    // Make sure actions are listed in an array.
Note: See TracChangeset for help on using the changeset viewer.