Skip to:
Content

bbPress.org

Changeset 1354


Ignore:
Timestamp:
03/20/2008 03:22:53 AM (18 years ago)
Author:
sambauers
Message:

Make bb_get_common_parts() return false when there are no common parts.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/0.8/bb-includes/functions.php

    r1278 r1354  
    27102710    }
    27112711   
     2712    if (!count($common_parts)) {
     2713        return false;
     2714    }
     2715   
    27122716    if ($reverse) {
    27132717        $common_parts = array_reverse( $common_parts );
  • trunk/bb-includes/functions.php

    r1299 r1354  
    26842684    }
    26852685   
     2686    if (!count($common_parts)) {
     2687        return false;
     2688    }
     2689   
    26862690    if ($reverse) {
    26872691        $common_parts = array_reverse( $common_parts );
Note: See TracChangeset for help on using the changeset viewer.