From 62a5ffa3a7e82ece027e0d630008db0ec505bf1e Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 8 Jan 2017 08:53:36 -0800 Subject: [PATCH] Fixes #1748 - Forum avatar issue. --- e107_handlers/e_parse_class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 2d3a4c5de..76516f658 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -3654,15 +3654,15 @@ class e_parser $height = ($tp->thumbHeight !== 0) ? $tp->thumbHeight : ""; $linkStart = ''; $linkEnd = ''; - - if(!isset($userData['user_image']) && USERID) + + if($userData === null && USERID) { $userData = array(); $userData['user_id'] = USERID; $userData['user_image'] = USERIMAGE; $userData['user_name'] = USERNAME; } - + $image = (!empty($userData['user_image'])) ? varset($userData['user_image']) : null;