rem: var sp = {name: result.obj.name, password: result.obj.password}; sendMail(root.sys_email, result.obj.email, getMessage("mail.registration", root.getTitle()), this.renderSkinAsString("mailregconfirm", sp) ); 
add: var sp = {name: user.name}; sendMail(root.sys_email, user.email, gettext('Welcome to "{0}"!', title), this.renderSkinAsString("mailregconfirm", sp)); 
context: MemberMgr.prototype.register_action = function() {   if (req.data.cancel) {      res.redirect(this._parent.href());   } else if (req.data.register) {            if (session.data.referrer) {         var url = session.data.referrer;         session.data.referrer = null;      } else {         var url = this._parent.href();      }      try {         var result = User.register(req.data);         // Subscribe user to this site if public         if (path.site && path.site.online) {            this.add(new Membership(result.obj));         }         res.message = result.toString();         // now we log in the user and send the confirmation mail         session.login(result.obj);         if (root.sys_email) {            var sp = {name: result.obj.name, password: result.obj.password};            sendMail(root.sys_email,                     result.obj.email,                     getMessage("mail.registration", root.getTitle()),                     this.renderSkinAsString("mailregconfirm", sp)                    );         }         res.redirect(url);      } catch (err) {         res.message = err.toString();         // if we got a mail exception redirect back         if (err instanceof MailException)            res.redirect(url);      }   }   session.data.token = User.getSalt();   res.data.action = this.href(req.action);   res.data.title = getMessage("User.registerTitle");   res.data.body = this.renderSkinAsString("register");   this._parent.renderSkin("page");   return;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/e9a7800a87905f590201a6af0beb752a4e65a080/MemberMgr.js/buggy/code/MemberMgr/MemberMgr.js