1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Fixed: Issue #1265: admin UI - readonly with type user

This commit is contained in:
Lóna Lore
2015-12-07 12:05:19 +01:00
parent 71155763ce
commit f90e4d19c4

View File

@@ -3693,7 +3693,19 @@ class e_form
elseif($value && is_numeric($value))
{
$id = $value;
$ttl = vartrue($parms['__nameval']);
if (vartrue($parms['__nameval']))
{
$ttl = vartrue($parms['__nameval']);
}
else
{
$user = e107::user($value);
if (vartrue($user['user_name']))
{
$ttl = $user['user_name'];
}
}
}