Explorar el Código

Set user id correctly

jmontoyaa hace 7 años
padre
commit
a5a6971ea1
Se han modificado 2 ficheros con 4 adiciones y 3 borrados
  1. 2 1
      main/auth/inscription.php
  2. 2 2
      main/inc/lib/usermanager.lib.php

+ 2 - 1
main/auth/inscription.php

@@ -1005,7 +1005,8 @@ if ($form->validate()) {
                         MessageManager::send_message_simple(
                             $bossId,
                             $subjectEmail,
-                            $contentEmail
+                            $contentEmail,
+                            $user_id
                         );
                     }
                 }

+ 2 - 2
main/inc/lib/usermanager.lib.php

@@ -581,10 +581,10 @@ class UserManager
                         MessageManager::send_message_simple(
                             $adminId,
                             $subject,
-                            $emailBody
+                            $emailBody,
+                            $userId
                         );
                     }
-
                 }
                 /* ENDS MANAGE EVENT WITH MAIL */
             }