Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/23/2010 10:59:37 PM (13 years ago)
Author:
djpaul
Message:

Don't pass function arguments by reference, as deprecated in PHP 5.3. Fixes #2759.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-templatetags.php

    r3473 r3479  
    219219
    220220    $forum_template = new BP_Forums_Template_Forum( $type, $forum_id, $user_id, $page, $per_page, $max, $no_stickies, $search_terms );
    221     return apply_filters( 'bp_has_topics', $forum_template->has_topics(), &$forum_template );
     221    return apply_filters( 'bp_has_topics', $forum_template->has_topics(), $forum_template );
    222222}
    223223
     
    847847    }
    848848
    849     return apply_filters( 'bp_has_topic_posts', $topic_template->has_posts(), &$topic_template );
     849    return apply_filters( 'bp_has_topic_posts', $topic_template->has_posts(), $topic_template );
    850850}
    851851
Note: See TracChangeset for help on using the changeset viewer.