From 49f4e1c097cb337500ffc7a3157a1cab2314a365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=B3na=20Lore?= Date: Sun, 10 Dec 2017 11:59:03 +0100 Subject: [PATCH] Fix for PHP Notice Undefined offset: 0, Line 741 of /e107_core/shortcodes/batch/user_shortcodes.php --- e107_core/shortcodes/batch/user_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_core/shortcodes/batch/user_shortcodes.php b/e107_core/shortcodes/batch/user_shortcodes.php index 57269fd21..09efd75da 100644 --- a/e107_core/shortcodes/batch/user_shortcodes.php +++ b/e107_core/shortcodes/batch/user_shortcodes.php @@ -738,7 +738,7 @@ class user_shortcodes extends e_shortcode $cat_name = true; //XXX TEMP Fix. - if($cat_name != FALSE && count($ueFieldList[$catnum])) + if($cat_name != FALSE && isset($ueFieldList[$catnum]) && count($ueFieldList[$catnum])) { $ret .= str_replace("{EXTENDED_NAME}", $key, $EXTENDED_CATEGORY_START);