mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 19:44:09 +02:00
Issue #2165 {EUF: field=country}
This commit is contained in:
@@ -679,14 +679,14 @@ class user_shortcodes extends e_shortcode
|
||||
|
||||
if(!$ext->hasPermission($fld,'read'))
|
||||
{
|
||||
// e107::getDebug()->log("Wrong permissions for user_euf: ".$fld);
|
||||
return false;
|
||||
}
|
||||
|
||||
$val = $this->var[$fld];
|
||||
$type = $ext->getFieldType($fld);
|
||||
|
||||
// e107::getDebug()->log(print_a($ext,true));
|
||||
|
||||
return $ext->renderValue($val); //TODO auto-detect type, from within the user-extended class.
|
||||
return $ext->renderValue($val,$type);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user