mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Update usersettings.php
the '-upload-' prefix is not being added to user picture, but it is being saved in the upload folder. This means the picture is not displaying correctly
This commit is contained in:
parent
de3cbe913d
commit
5816c35828
@ -325,7 +325,7 @@ if (isset($_POST['updatesettings']))
|
||||
elseif ($upload['name'] && ($upload['index'] == 'photo') && $pref['photo_upload'])
|
||||
{
|
||||
// photograph uploaded
|
||||
$_POST['user_sess'] = $upload['name'];
|
||||
$_POST['user_sess'] = '-upload-'.$upload['name'];
|
||||
}
|
||||
elseif (isset($upload['error']) && isset($upload['message']))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user