Skip to:
Content

BuddyPress.org

Changeset 5783


Ignore:
Timestamp:
02/13/2012 10:41:04 PM (14 years ago)
Author:
djpaul
Message:

Fix PHP notices when activity set to static front page. Fixes #4009

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-template.php

    r5763 r5783  
    568568function bp_current_action() {
    569569    global $bp;
    570     $current_action = !empty( $bp->current_action ) ? $bp->current_action : false;
     570    $current_action = !empty( $bp->current_action ) ? $bp->current_action : '';
    571571    return apply_filters( 'bp_current_action', $current_action );
    572572}
Note: See TracChangeset for help on using the changeset viewer.