Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/11/2012 05:55:13 PM (13 years ago)
Author:
boonebgorges
Message:

Don't assign values to undefined objects throughout BP. Fixes #4191. Props leemour

File:
1 edited

Legend:

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

    r6022 r6023  
    4949function bp_core_set_avatar_globals() {
    5050    global $bp;
     51
     52    $bp->avatar        = new stdClass;
     53    $bp->avatar->thumb = new stdClass;
     54    $bp->avatar->full  = new stdClass;
    5155
    5256    // Dimensions
Note: See TracChangeset for help on using the changeset viewer.