From 170c9592d591e535b7fed88b060b7b64928eeb1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=B3na=20Lore?= Date: Sun, 10 Dec 2017 12:01:09 +0100 Subject: [PATCH] Fix for PHP Notice Undefined index: user_Miscellaneous, Line 113 of /e107_core/shortcodes/single/user_extended.php --- e107_core/shortcodes/single/user_extended.php | 4 ++++ 1 file changed, 4 insertions(+) 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) {