Browse Source

Add user object in tpl $tplContent->assign('new_user', $user);

jmontoyaa 8 years ago
parent
commit
a12383d866
1 changed files with 1 additions and 0 deletions
  1. 1 0
      main/inc/lib/usermanager.lib.php

+ 1 - 0
main/inc/lib/usermanager.lib.php

@@ -436,6 +436,7 @@ class UserManager
                 $tplContent->assign('login_name', $loginName);
                 $tplContent->assign('original_password', stripslashes($original_password));
                 $tplContent->assign('mailWebPath', $url);
+                $tplContent->assign('new_user', $user);
 
                 $layoutContent = $tplContent->get_template('mail/content_registration_platform.tpl');
                 $emailBody = $tplContent->fetch($layoutContent);