And still there are notices that have to be removed ... (#5629)
* And still there are notices that have to be removed ... * Notice removed in ACL part * Fix missing fields for notifications * Fixes issue 5630
This commit is contained in:
parent
4eaeea7889
commit
060e887a31
10 changed files with 41 additions and 21 deletions
|
@ -1689,11 +1689,14 @@ function admin_page_users_post(App $a)
|
|||
$body = sprintf($body, System::baseUrl(), $user['email'], $result['password'], Config::get('config', 'sitename'));
|
||||
|
||||
notification([
|
||||
'type' => SYSTEM_EMAIL,
|
||||
'type' => SYSTEM_EMAIL,
|
||||
'language' => $user['language'],
|
||||
'to_name' => $user['username'],
|
||||
'to_email' => $user['email'],
|
||||
'subject' => L10n::t('Registration details for %s', Config::get('config', 'sitename')),
|
||||
'uid' => $user['uid'],
|
||||
'subject' => L10n::t('Registration details for %s', Config::get('config', 'sitename')),
|
||||
'preamble' => $preamble,
|
||||
'body' => $body]);
|
||||
'body' => $body]);
|
||||
}
|
||||
|
||||
if (x($_POST, 'page_users_block')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue