From b9577f0815c6e5f4f9771b5cfd8856b93aafb2c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Tue, 4 Dec 2007 02:04:47 +0100 Subject: [PATCH] preferences: Fix display of real name --- include/form_edit.php | 2 +- preferences.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);