Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/15/2012 03:57:10 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Fix issue where bp_core_time_since() can show "5 months, 0 days ago"

File:
1 edited

Legend:

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

    r5927 r5992  
    448448
    449449                // Add to output var
    450                 if ( 0 != $count ) {
     450                if ( 0 != $count2 ) {
    451451                    $output .= ( 1 == $count2 ) ? _x( ',', 'Separator in time since', 'buddypress' ) . ' 1 '. $name2 : _x( ',', 'Separator in time since', 'buddypress' ) . ' ' . $count2 . ' ' . $chunks[$i + 1][2];
    452452                }
Note: See TracChangeset for help on using the changeset viewer.