mirror of
https://github.com/typecho/typecho.git
synced 2025-01-16 20:18:19 +01:00
fix trim error (#1697)
This commit is contained in:
parent
7115a30301
commit
c816efa26e
@ -75,7 +75,7 @@ class Edit extends Contents implements ActionInterface
|
||||
|
||||
/** 发送ping */
|
||||
$trackback = array_filter(
|
||||
array_unique(preg_split("/(\r|\n|\r\n)/", trim($this->request->get('trackback'))))
|
||||
array_unique(preg_split("/(\r|\n|\r\n)/", trim($this->request->get('trackback', ''))))
|
||||
);
|
||||
Service::alloc()->sendPing($this, $trackback);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user