Skip to:
Content

BuddyPress.org

Changeset 5960


Ignore:
Timestamp:
04/06/2012 10:12:38 PM (13 years ago)
Author:
djpaul
Message:

Correct activity un-favourite links. Props magnus78, fixes #4115

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-actions.php

    r5929 r5960  
    393393function bp_activity_action_remove_favorite() {
    394394
    395     if ( !is_user_logged_in() || ( bp_is_activity_component() ) || !bp_is_current_action( 'unfavorite' ) )
     395    if ( ! is_user_logged_in() || ! bp_is_activity_component() || ! bp_is_current_action( 'unfavorite' ) )
    396396        return false;
    397397
Note: See TracChangeset for help on using the changeset viewer.