mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
fix forums.php receiver not exists error
This commit is contained in:
@@ -493,7 +493,7 @@ if ($action == "post")
|
||||
$quotePostInfo = \App\Models\Post::query()->find($quotepostid);
|
||||
if ($quotePostInfo && $quotePostInfo->userid != $CURUSER['id']) {
|
||||
$receiver = $quotePostInfo->user;
|
||||
if($receiver->acceptNotification('topic_reply')) {
|
||||
if($receiver && $receiver->acceptNotification('topic_reply')) {
|
||||
$locale = $receiver->locale;
|
||||
$notify = [
|
||||
'sender' => 0,
|
||||
|
||||
Reference in New Issue
Block a user