aboutsummaryrefslogtreecommitdiffstats
path: root/include/html2plain.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-09 19:22:47 +0000
committerMario <mario@mariovavti.com>2021-01-09 20:32:40 +0100
commitfa41527f85f211c013bac3657629f2e23d400d4a (patch)
tree535492535753f176a7162d472ef71a4b8395b5d2 /include/html2plain.php
parent39c5e855641b96c4b2053f81c892355ac4e9b2a1 (diff)
downloadvolse-hubzilla-fa41527f85f211c013bac3657629f2e23d400d4a.tar.gz
volse-hubzilla-fa41527f85f211c013bac3657629f2e23d400d4a.tar.bz2
volse-hubzilla-fa41527f85f211c013bac3657629f2e23d400d4a.zip
fix some php8 fatal errors
(cherry picked from commit 2522d42c71baee9caba181566948ae4c899885bd)
Diffstat (limited to 'include/html2plain.php')
-rw-r--r--include/html2plain.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/html2plain.php b/include/html2plain.php
index 979354079..fde70bd01 100644
--- a/include/html2plain.php
+++ b/include/html2plain.php
@@ -40,7 +40,7 @@ function breaklines($line, $level, $wraplength = 75)
$newlines[] = $line;
- return(implode($newlines, "\n"));
+ return(implode("\n", $newlines));
}
function quotelevel($message, $wraplength = 75)
@@ -73,7 +73,7 @@ function quotelevel($message, $wraplength = 75)
if (!$startquote or ($line != ''))
$newlines[] = breaklines($line, $currlevel, $wraplength);
}
- return(implode($newlines, "\n"));
+ return(implode("\n", $newlines));
}
function collecturls($message) {