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