mirror of
https://github.com/e107inc/e107.git
synced 2025-07-27 01:40:22 +02:00
Fixes #3646 - Correctly display user country in user profile
This commit is contained in:
@@ -169,8 +169,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
case EUF_COUNTRY:
|
||||||
|
if(!empty($uVal))
|
||||||
|
{
|
||||||
|
return e107::getForm()->getCountry($uVal);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
break;
|
||||||
case EUF_DB_FIELD : // check for db_lookup type
|
case EUF_DB_FIELD : // check for db_lookup type
|
||||||
$tmp = explode(',',$ueStruct['user_'.$parms[0]]['user_extended_struct_values']);
|
$tmp = explode(',',$ueStruct['user_'.$parms[0]]['user_extended_struct_values']);
|
||||||
$sql_ue = new db; // Use our own DB object to avoid conflicts
|
$sql_ue = new db; // Use our own DB object to avoid conflicts
|
||||||
@@ -204,4 +209,3 @@
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user