Alexander Nicolaysen Sørnes : preferences: Fix display of real name

Chris Morgan cmorgan at winehq.org
Mon Dec 3 19:21:37 CST 2007


Module: appdb
Branch: master
Commit: b9577f0815c6e5f4f9771b5cfd8856b93aafb2c9
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=b9577f0815c6e5f4f9771b5cfd8856b93aafb2c9

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Tue Dec  4 02:04:47 2007 +0100

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




More information about the wine-cvs mailing list