preferences: Fix display of real name
This commit is contained in:
committed by
Chris Morgan
parent
ced9b16cae
commit
b9577f0815
@@ -6,7 +6,7 @@ require_once(BASE."include/util.php");
|
|||||||
/*********************/
|
/*********************/
|
||||||
|
|
||||||
// returns an array of TableRow instances
|
// returns an array of TableRow instances
|
||||||
function GetEditAccountFormRows($sUserEmail)
|
function GetEditAccountFormRows($sUserEmail, $sUserRealname)
|
||||||
{
|
{
|
||||||
$aTableRows = array();
|
$aTableRows = array();
|
||||||
|
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ $oTable->SetCellSpacing(0);
|
|||||||
$oTable->SetClass("box-body");
|
$oTable->SetClass("box-body");
|
||||||
|
|
||||||
// retrieve the form editing rows
|
// retrieve the form editing rows
|
||||||
$aTableRows = GetEditAccountFormRows($oUser->sEmail);
|
$aTableRows = GetEditAccountFormRows($oUser->sEmail, $oUser->sRealname);
|
||||||
foreach($aTableRows as $oTableRow)
|
foreach($aTableRows as $oTableRow)
|
||||||
$oTable->AddRow($oTableRow);
|
$oTable->AddRow($oTableRow);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user