Minor - Add creator id

pull/2487/head
jmontoyaa 7 years ago
parent 85b448ecc3
commit 22e7252f4c
  1. 2
      main/inc/lib/usermanager.lib.php

@ -587,7 +587,7 @@ class UserManager
]);
$hook->notifyCreateUser(HOOK_EVENT_TYPE_POST);
}
Event::addEvent(LOG_USER_CREATE, LOG_USER_ID, $userId);
Event::addEvent(LOG_USER_CREATE, LOG_USER_ID, $userId, null, $creatorId);
} else {
Display::addFlash(
Display::return_message(get_lang('ErrorContactPlatformAdmin'))

Loading…
Cancel
Save