|
@@ -2936,7 +2936,6 @@ function profileSaveAvatarData(&$value)
|
|
|
// Remove any attached avatar...
|
|
|
removeAttachments(array('id_member' => $memID));
|
|
|
|
|
|
- // @todo http://www.simplemachines.org/community/index.php?topic=462089.msg3226650#msg3226650
|
|
|
$profile_vars['avatar'] = str_replace(' ', '%20', preg_replace('~action(?:=|%3d)(?!dlattach)~i', 'action-', $_POST['userpicpersonal']));
|
|
|
|
|
|
if ($profile_vars['avatar'] == 'http://' || $profile_vars['avatar'] == 'http:///')
|