Skip to:
Content

Changeset 6332


Ignore:
Timestamp:
09/14/2012 11:03:44 PM (6 years ago)
Author:
djpaul
Message:

Fix PHP 5.4 warning on the profile Change Avatar screen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-screens.php

    r6285 r6332  
    154154        return;
    155155    }
     156
     157    if ( ! isset( $bp->avatar_admin ) )
     158        $bp->avatar_admin = new stdClass();
    156159
    157160    $bp->avatar_admin->step = 'upload-image';
Note: See TracChangeset for help on using the changeset viewer.