#12156 also mail added notification on create
This commit is contained in:
parent
5194bd165c
commit
43b8db9c84
|
@ -684,18 +684,20 @@ function notifications_set_user_label_status($source, $user, $label, $value)
|
|||
'id_user' => $user,
|
||||
'id_source' => $source,
|
||||
'enabled' => '1',
|
||||
'also_mail' => '1',
|
||||
]
|
||||
);
|
||||
return true;
|
||||
} else {
|
||||
return (bool) db_process_sql_update(
|
||||
'tnotification_source_user',
|
||||
[$label => $value],
|
||||
[
|
||||
'id_user' => $user,
|
||||
'id_source' => $source,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
return (bool) db_process_sql_update(
|
||||
'tnotification_source_user',
|
||||
[$label => $value],
|
||||
[
|
||||
'id_user' => $user,
|
||||
'id_source' => $source,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue