diff --git a/include/form_edit.php b/include/form_edit.php index 74d4b44..099c008 100644 --- a/include/form_edit.php +++ b/include/form_edit.php @@ -6,7 +6,7 @@ require_once(BASE."include/util.php"); /*********************/ // returns an array of TableRow instances -function GetEditAccountFormRows($sUserEmail) +function GetEditAccountFormRows($sUserEmail, $sUserRealname) { $aTableRows = array(); diff --git a/preferences.php b/preferences.php index 743cff9..7050343 100644 --- a/preferences.php +++ b/preferences.php @@ -201,7 +201,7 @@ $oTable->SetCellSpacing(0); $oTable->SetClass("box-body"); // retrieve the form editing rows -$aTableRows = GetEditAccountFormRows($oUser->sEmail); +$aTableRows = GetEditAccountFormRows($oUser->sEmail, $oUser->sRealname); foreach($aTableRows as $oTableRow) $oTable->AddRow($oTableRow);