1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-24 16:31:48 +02:00

Fixes #3646 - Correctly display user country in user profile

This commit is contained in:
Tijn Kuyper
2019-01-27 13:30:59 +01:00
parent b19463b259
commit 877349ebb0

View File

@@ -169,8 +169,13 @@
}
break;
case EUF_COUNTRY:
if(!empty($uVal))
{
return e107::getForm()->getCountry($uVal);
}
return false;
break;
case EUF_DB_FIELD : // check for db_lookup type
$tmp = explode(',',$ueStruct['user_'.$parms[0]]['user_extended_struct_values']);
$sql_ue = new db; // Use our own DB object to avoid conflicts
@@ -203,5 +208,4 @@
// return TRUE;
return FALSE;
}
}