mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 19:08:49 +00:00
Use short form array syntax everywhere
This commit is contained in:
parent
4ee41c64a3
commit
27b60e003f
68 changed files with 869 additions and 869 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue