File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 24
24
- fixed #12345: tickets in trash still show up
25
25
- fixed #12305: dbSlave breaks WebGUI when not able to connect
26
26
- fixed: Http Proxy assets with no URL to proxy cannot be deleted.
27
+ - fixed: Friends request messages that no longer exist throw a warning.
27
28
28
29
7.10.24
29
30
- fixed #12318: asset error causes asset manager to fail
Original file line number Diff line number Diff line change @@ -96,7 +96,10 @@ sub approveAddRequest {
96
96
status => ' unread' ,
97
97
sentBy => $self -> user-> userId,
98
98
});
99
- $inbox -> getMessage($invite -> {messageId })-> setStatus(' completed' );
99
+ my $message = $inbox -> getMessage($invite -> {messageId });
100
+ if ($message ) {
101
+ $message -> setStatus(' completed' );
102
+ }
100
103
$db -> deleteRow(" friendInvitations" , " inviteId" , $inviteId );
101
104
}
102
105
You can’t perform that action at this time.
0 commit comments