From ee57ba2275bc16c747540c207d2fa5613ffc553c Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 22 Aug 2015 00:15:05 -0700 Subject: [PATCH] Remote avatar validation fix. --- e107_handlers/validator_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }