Changeset 833 for trunk/bp-core/bp-core-avatars.php
- Timestamp:
- 01/12/2009 07:27:53 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-avatars.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-avatars.php
r805 r833 223 223 224 224 function bp_core_avatar_upload_dir( $upload, $user_id = false ) { 225 global $bp , $current_blog;225 global $bp; 226 226 227 227 if ( !$user_id ) … … 244 244 245 245 // Switch back to the current blog 246 switch_to_blog($current_blog->blog_id);246 restore_current_blog(); 247 247 248 248 return array( 'path' => $newdir, 'url' => $newurl, 'subdir' => $newsubdir, 'basedir' => $newbdir, 'baseurl' => $newburl, 'error' => false );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)