mirror of
https://github.com/typecho/typecho.git
synced 2025-01-17 04:28:17 +01:00
fix #1375
This commit is contained in:
parent
c78f7fda68
commit
34e5bf2861
@ -482,7 +482,7 @@ EOF;
|
||||
*/
|
||||
public static function filterSearchQuery(?string $query): string
|
||||
{
|
||||
return isset($query) ? str_replace('-', ' ', self::slugName($query)) : '';
|
||||
return isset($query) ? str_replace('-', ' ', self::slugName($query) ?? '') : '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user