diff --git a/e107_core/shortcodes/single/user_extended.php b/e107_core/shortcodes/single/user_extended.php index 56af0ba83..dc0419ac5 100644 --- a/e107_core/shortcodes/single/user_extended.php +++ b/e107_core/shortcodes/single/user_extended.php @@ -110,6 +110,10 @@ if ($parms[1] == 'text') { + if(!isset($ueStruct['user_'.$parms[0]])) + { + return FALSE; + } $text_val = $ueStruct['user_'.$parms[0]]['user_extended_struct_text']; if($text_val) {