diff --git a/e107_handlers/validator_class.php b/e107_handlers/validator_class.php index 39b3083df..6bbec0fd0 100644 --- a/e107_handlers/validator_class.php +++ b/e107_handlers/validator_class.php @@ -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 }