no message

This commit is contained in:
hellcat 2025-03-24 22:41:58 +08:00
parent 5e8388c999
commit 8a984d8faa

View File

@ -142,7 +142,9 @@ final class HookController
$sMsg = "title".$aTicket['title']."\n";
foreach ($aTicket as $row) {
$aTicketContent = json_decode($aTicket, true);
foreach ($aTicketContent as $row) {
$sMsg .= "\n";
$sMsg .= "name".$row['commenter_name']."\n";
$sMsg .= "comment".$row['comment']."\n";
@ -162,6 +164,8 @@ final class HookController
{
$sText = ltrim($sText, $sTrim);
$sText = trim($sText);
return $sText;
}
private function sendMessage($sText) {