1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Fix for PHP Notice Undefined offset: 0, Line 741 of /e107_core/shortcodes/batch/user_shortcodes.php

This commit is contained in:
Lóna Lore
2017-12-10 11:59:03 +01:00
parent d8d73ab099
commit 49f4e1c097

View File

@@ -738,7 +738,7 @@ class user_shortcodes extends e_shortcode
$cat_name = true; //XXX TEMP Fix. $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); $ret .= str_replace("{EXTENDED_NAME}", $key, $EXTENDED_CATEGORY_START);