[Fusionforge-commits] r10395 - trunk/src/www/account

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Thu Sep 2 16:43:35 CEST 2010


Author: nerville
Date: 2010-09-02 16:43:35 +0200 (Thu, 02 Sep 2010)
New Revision: 10395

Modified:
   trunk/src/www/account/index.php
Log:
fix feedback call

Modified: trunk/src/www/account/index.php
===================================================================
--- trunk/src/www/account/index.php	2010-09-02 14:17:03 UTC (rev 10394)
+++ trunk/src/www/account/index.php	2010-09-02 14:43:35 UTC (rev 10395)
@@ -25,7 +25,7 @@
 require_once $gfcommon.'include/pre.php';
 require_once $gfcommon.'include/timezones.php';
 
-$feedback = '';
+$feedback = getStringFromRequest('feedback');
 
 session_require_login () ;
 
@@ -77,9 +77,9 @@
 	if (!$u->update($firstname, $lastname, $language, $timezone, $mail_site, $mail_va, $use_ratings,
 		$jabber_address,$jabber_only,$theme_id,$address,$address2,$phone,$fax,$title,$ccode)) {
 		form_release_key(getStringFromRequest('form_key'));
-		$feedback .= $u->getErrorMessage().'<br />';
+		$feedback = $u->getErrorMessage();
 	} else {
-		$feedback .= _('Updated').'<br />';
+		$feedback = _('Updated');
 	}
 
 	if ($refresh) {




More information about the Fusionforge-commits mailing list