[Fusionforge-commits] r11453 - trunk/src/common/include

Christian Bayle cbayle at libremir.placard.fr.eu.org
Sun Nov 7 11:36:13 CET 2010


Author: cbayle
Date: 2010-11-07 11:36:13 +0100 (Sun, 07 Nov 2010)
New Revision: 11453

Modified:
   trunk/src/common/include/User.class.php
Log:
Remove \n in Email, shouldn't be, but I found


Modified: trunk/src/common/include/User.class.php
===================================================================
--- trunk/src/common/include/User.class.php	2010-11-07 10:29:37 UTC (rev 11452)
+++ trunk/src/common/include/User.class.php	2010-11-07 10:36:13 UTC (rev 11453)
@@ -817,7 +817,7 @@
 	 *	@return	string	This user's email address.
 	 */
 	function getEmail() {
-		return $this->data_array['email'];
+		return str_replace("\n", "", $this->data_array['email']);
 	}
 	
 	/**




More information about the Fusionforge-commits mailing list