mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 22:27:34 +02:00
Fix for PHP Notice Undefined index: user_Miscellaneous, Line 113 of /e107_core/shortcodes/single/user_extended.php
This commit is contained in:
@@ -110,6 +110,10 @@
|
|||||||
|
|
||||||
if ($parms[1] == 'text')
|
if ($parms[1] == 'text')
|
||||||
{
|
{
|
||||||
|
if(!isset($ueStruct['user_'.$parms[0]]))
|
||||||
|
{
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
$text_val = $ueStruct['user_'.$parms[0]]['user_extended_struct_text'];
|
$text_val = $ueStruct['user_'.$parms[0]]['user_extended_struct_text'];
|
||||||
if($text_val)
|
if($text_val)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user