mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix image file name
This commit is contained in:
+1
-2
@@ -545,6 +545,7 @@ class UM_Files {
|
||||
|
||||
if( in_array( $key , array('profile_photo','cover_photo') ) ){
|
||||
$filename = $key . $ext;
|
||||
$name = $key;
|
||||
}else{
|
||||
$filename = basename( $source );
|
||||
}
|
||||
@@ -639,8 +640,6 @@ class UM_Files {
|
||||
|
||||
}
|
||||
|
||||
}else{
|
||||
|
||||
}
|
||||
|
||||
// clean up temp
|
||||
|
||||
Reference in New Issue
Block a user