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

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Fri Feb 11 15:06:34 CET 2011


Author: nerville
Date: 2011-02-11 15:06:33 +0100 (Fri, 11 Feb 2011)
New Revision: 12269

Modified:
   trunk/src/common/include/User.class.php
Log:
fix Undefined variable

Modified: trunk/src/common/include/User.class.php
===================================================================
--- trunk/src/common/include/User.class.php	2011-02-11 12:14:55 UTC (rev 12268)
+++ trunk/src/common/include/User.class.php	2011-02-11 14:06:33 UTC (rev 12269)
@@ -237,7 +237,7 @@
 	 */
 	function create($unix_name, $firstname, $lastname, $password1, $password2, $email,
 		$mail_site, $mail_va, $language_id, $timezone, $jabber_address, $jabber_only, $theme_id,
-		$unix_box = 'shell', $address = '', $address2 = '', $phone = '', $fax = '', $title = '', $ccode = 'US', $send_mail = true, $tooltip = true) {
+		$unix_box = 'shell', $address = '', $address2 = '', $phone = '', $fax = '', $title = '', $ccode = 'US', $send_mail = true, $tooltips = true) {
 		global $SYS;
 		if (!$theme_id) {
 			$this->setError(_('You must supply a theme'));
@@ -396,7 +396,7 @@
 			$hook_params['user_id'] = $this->getID();
 			$hook_params['user_name'] = $unix_name;
 			$hook_params['user_password'] = $password1;
-			plugin_hook ("user_create", $hook_params);
+			plugin_hook("user_create", $hook_params);
 			
 			if ($send_mail) {
 				setup_gettext_from_lang_id($language_id);




More information about the Fusionforge-commits mailing list