preferences: Fix display of real name

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-12-04 02:04:47 +01:00
committed by Chris Morgan
parent ced9b16cae
commit b9577f0815
2 changed files with 2 additions and 2 deletions

View File

@@ -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();

View File

@@ -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);