mirror of
https://github.com/typecho/typecho.git
synced 2025-01-16 20:18:19 +01:00
Argument 1 passed to Utils\AutoP::parse() must be of the type string, null given
This commit is contained in:
parent
17d9dcfa17
commit
e05ebe442e
@ -928,7 +928,7 @@ class Contents extends Base implements QueryInterface
|
||||
{
|
||||
$html = Contents::pluginHandle()->trigger($parsed)->autoP($text);
|
||||
|
||||
if (!$parsed) {
|
||||
if (!$parsed && $text) {
|
||||
static $parser;
|
||||
|
||||
if (empty($parser)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user