mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Remote avatar validation fix.
This commit is contained in:
@@ -1144,7 +1144,7 @@ class validatorClass
|
||||
{
|
||||
$img = e_AVATAR_UPLOAD.str_replace('-upload-', '', $value); // Its a user-uploaded image
|
||||
}
|
||||
elseif (strpos($avName, '/') !== FALSE)
|
||||
elseif (strpos($value, '//') !== false)
|
||||
{
|
||||
$img = $value; // Its a remote image
|
||||
}
|
||||
|
Reference in New Issue
Block a user