fix changing subscriptions for newletters
This commit is contained in:
parent
4210396b3f
commit
c707cafe23
2 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
- Fix using statements other than SELECT in SQL Reports
|
- Fix using statements other than SELECT in SQL Reports
|
||||||
- Fix manage users in group not displaying user list
|
- Fix manage users in group not displaying user list
|
||||||
- Fix In/Out Board showing current time for users that have never checked in
|
- Fix In/Out Board showing current time for users that have never checked in
|
||||||
|
- Fix changing subscriptions on a newsletter asset
|
||||||
|
|
||||||
7.4.4
|
7.4.4
|
||||||
- fix: Changing group detail adds number to group name
|
- fix: Changing group detail adds number to group name
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@ sub setUserSubscriptions {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $subscriptions = shift;
|
my $subscriptions = shift;
|
||||||
my $userId = shift || $self->session->user->userId;
|
my $userId = shift || $self->session->user->userId;
|
||||||
$self->session->db->write("replace into Newsletter_subscriptions (assetId, userId, subscriptions, lastSendTime)
|
$self->session->db->write("replace into Newsletter_subscriptions (assetId, userId, subscriptions, lastTimeSent)
|
||||||
values (?,?,?,?)", [$self->getId, $userId, $subscriptions, time()]);
|
values (?,?,?,?)", [$self->getId, $userId, $subscriptions, time()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue