diff --git a/app/Services/Cron/ShadowRocketPublish.php b/app/Services/Cron/ShadowRocketPublish.php index 27229081..04aa87b5 100755 --- a/app/Services/Cron/ShadowRocketPublish.php +++ b/app/Services/Cron/ShadowRocketPublish.php @@ -48,7 +48,7 @@ final class ShadowRocketPublish '{$sContent}' => $sShadowRocketIdsHtml, '{$sShip}' => $sShip, '{$sTgHref}' => $aSiteConfig['telegram'], - '{$sGithubHref}' => $aSiteConfig['github'] + '{$sGithubHref}' => $aSiteConfig['github'] ?? '' ]; $sArticle = self::nl2p(str_replace(array_keys($aFilter), array_values($aFilter), $sArticle));