Skip to:
Content

BuddyPress.org

Ticket #819: bp-activity-templatetags.patch

File bp-activity-templatetags.patch, 572 bytes (added by johnjamesjacoby, 13 years ago)

bp-activity-templatetags.patch

  • bp-activity-templatetags.php

     
    307307               
    308308                if ( !$component_names )
    309309                        return false;
    310                
    311                 $link = remove_query_arg( array( 'afilter' ), $_SERVER['REQUEST_URI'] );
     310
     311                $link = $_SERVER['REQUEST_URI'];
     312                $link = remove_query_arg( array( 'afilter' ), $link );
    312313                $link = remove_query_arg( array( 'acpage' ), $link );
    313314
    314315                foreach ( (array) $component_names as $component_name ) {