Skip to content

Commit

Permalink
优化对于 php 5.x 的使用者的插件支持
Browse files Browse the repository at this point in the history
  • Loading branch information
xueshanlinghu committed Nov 26, 2020
1 parent 9208f80 commit db81115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ static public function doApproved($comment, $edit, $status)
// 调用异步回调模式
Helper::requestService('asyncApproved', $comment);
} else {
self::sendMail($comment->coid ?? $comment['coid'], TRUE);
self::sendMail($comment->coid ? $comment->coid : $comment['coid'], TRUE);
}
}
}
Expand Down

0 comments on commit db81115

Please sign in to comment.