Skip to:
Content

BuddyPress.org

Changeset 2747


Ignore:
Timestamp:
02/19/2010 02:42:00 PM (17 years ago)
Author:
apeatling
Message:

Typecast arrays on array_map() calls.

Location:
branches/1.2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-activity.php

    r2742 r2747  
    11101110                return false;
    11111111
    1112         $metas = array_map( 'maybe_unserialize', $metas );
     1112        $metas = array_map( 'maybe_unserialize', (array)$metas );
    11131113
    11141114        if ( 1 == count($metas) )
  • branches/1.2/bp-blogs.php

    r2742 r2747  
    774774        }
    775775
    776         $metas = array_map('maybe_unserialize', $metas);
     776        $metas = array_map('maybe_unserialize', (array)$metas);
    777777
    778778        if ( 1 == count($metas) )
  • branches/1.2/bp-groups.php

    r2742 r2747  
    24512451        }
    24522452
    2453         $metas = array_map('maybe_unserialize', $metas);
     2453        $metas = array_map('maybe_unserialize', (array)$metas);
    24542454
    24552455        if ( 1 == count($metas) )
Note: See TracChangeset for help on using the changeset viewer.