mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 22:33:55 -07:00
Update common.php
This commit is contained in:
parent
360bf5db46
commit
f31094fdca
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ function htmlCHR($txt, bool $double_encode = false, int $quote_style = ENT_QUOTE
|
|||
*/
|
||||
function str_compact($str)
|
||||
{
|
||||
return preg_replace('#\s+#u', ' ', trim($str ?? ''));
|
||||
return preg_replace('/\s\s+/', ' ', trim($str ?? ''));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue