mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
fix forums.php receiver not exists error
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.9.8');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2025-10-01');
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.9.9');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2025-10-02');
|
||||
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||
|
||||
@@ -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