Skip to:
Content

Changeset 6332


Ignore:
Timestamp:
09/14/12 23:03:44 (20 months 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.