Skip to:
Content

BuddyPress.org

Ticket #957: (JASON_JM)bp_core-templatetags(v1).patch

File (JASON_JM)bp_core-templatetags(v1).patch, 785 bytes (added by Jason_JM, 17 years ago)

V1 of the patch.

  • buddypress/bp-core/bp-core-templatetags.php

    # This patch file uses platform neutral UTF-8 encoding.
    # Above lines and this line are ignored by the patching process.
    # General security cleanup, prevents divide by zero possibility which can occur.
    # Jason.Giedymin@AcronymLabs.com
     
    813813                        $this->member_count = count($this->members);
    814814                }
    815815               
     816                if ( ((int) $this->total_member_count > 0) && ((int) $this->pag_num > 0) ) {
    816817                $this->pag_links = paginate_links( array(
    817818                        'base' => add_query_arg( 'upage', '%#%' ),
    818819                        'format' => '',
     
    823824                        'mid_size' => 1
    824825                ));             
    825826        }
     827        }
     828 No newline at end of file
    826829       
    827830        function has_members() {
    828831                if ( $this->member_count )