X-Git-Url: https://git.mxchange.org/?p=friendica-addons.git;a=blobdiff_plain;f=showmore%2Fshowmore.php;h=9bddab6337b66b48c20b7c21c93482c48327ce9a;hp=af158a55a3006aa9410df296d6d175acf8f5e4e0;hb=27b60e003f92dd9f3aebbeddb34ebb905488ca82;hpb=c3e93f1ed9a487f823bcc75ddd43024334c25bfc diff --git a/showmore/showmore.php b/showmore/showmore.php old mode 100755 new mode 100644 index af158a55..9bddab63 --- a/showmore/showmore.php +++ b/showmore/showmore.php @@ -156,7 +156,7 @@ function showmore_cutitem($text, $limit) { @$doc->loadHTML($doctype."".$text.""); $text = $doc->saveHTML(); - $text = str_replace(array("", "", $doctype), array("", "", ""), $text); + $text = str_replace(["", "", $doctype], ["", "", ""], $text); return($text); }