]> git.mxchange.org Git - friendica-addons.git/blobdiff - showmore/showmore.php
Use short form array syntax everywhere
[friendica-addons.git] / showmore / showmore.php
old mode 100755 (executable)
new mode 100644 (file)
index af158a5..9bddab6
@@ -156,7 +156,7 @@ function showmore_cutitem($text, $limit) {
        @$doc->loadHTML($doctype."<html><body>".$text."</body></html>");
 
        $text = $doc->saveHTML();
-       $text = str_replace(array("<html><body>", "</body></html>", $doctype), array("", "", ""), $text);
+       $text = str_replace(["<html><body>", "</body></html>", $doctype], ["", "", ""], $text);
 
        return($text);
 }