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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user