mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +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
|
$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
|
$img = $value; // Its a remote image
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user