mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
[Legacy] Set Snooze date when adding alert
This commit is contained in:
parent
b1dcc32410
commit
25f1d2d772
1 changed files with 2 additions and 2 deletions
|
@ -50,10 +50,10 @@ class AddAlert
|
|||
string $type = 'info',
|
||||
bool $is_read = false
|
||||
): void {
|
||||
global $current_user;
|
||||
global $current_user, $timedate;
|
||||
|
||||
$assigned_user_id = $current_user->id;
|
||||
$snooze = null;
|
||||
$snooze = $timedate->nowDb();
|
||||
|
||||
if ($url_redirect === null) {
|
||||
$url_redirect = 'index.php?fakeid=' . uniqid('fake_', true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue