Skip to content

Commit

Permalink
fix sendPingHandle warning (typecho#1808)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Sep 23, 2024
1 parent 87d479d commit 5783cb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions var/Widget/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ public function sendPingHandle()
/** 验证权限 */
$data = $this->request->get('@json');
$token = $data['token'] ?? '';
$permalink = $data['permalink'];
$title = $data['title'];
$excerpt = $data['excerpt'];
$permalink = $data['permalink'] ?? '';
$title = $data['title'] ?? '';
$excerpt = $data['excerpt'] ?? '';

$response = ['trackback' => [], 'pingback' => []];

Expand Down

0 comments on commit 5783cb0

Please sign in to comment.