1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 03:54:09 +02:00

Replaced deprecated get_user_data() with e107::user()

This commit is contained in:
Cameron
2015-01-26 18:03:14 -08:00
parent 141b9d1ab1
commit 489a9cb49c
12 changed files with 20 additions and 268 deletions

View File

@@ -3249,7 +3249,7 @@ class e_form
/*if(is_numeric($value))
{
$value = get_user_data($value);
$value = e107::user($value);
if($value)
{
$value = $value[$attributes['type']] ? $value[$attributes['type']] : $value['user_name'];
@@ -3781,7 +3781,7 @@ class e_form
if(!is_array($value))
{
$value = $value ? e107::getSystemUser($value, true)->getUserData() : array();// get_user_data($value);
$value = $value ? e107::getSystemUser($value, true)->getUserData() : array();// e107::user($value);
}
$colname = vartrue($parms['nameType'], 'user_name');