X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Ftemplate_processor.php;h=efdfbaecb78a73fb61bdf90c4b259015bbfe49c6;hb=19ccd658ebcf13a7cc208a3e460e44d152dda32f;hp=d431831cb784fc5733afb5f19fd192ba06160134;hpb=0c51305c72acd244dc92bb18c393fdf8fba4889b;p=friendica.git diff --git a/include/template_processor.php b/include/template_processor.php index d431831cb7..efdfbaecb7 100644 --- a/include/template_processor.php +++ b/include/template_processor.php @@ -128,7 +128,7 @@ #$s = str_replace(array("\n","\r"),array("§n§","§r§"),$s); $s = $this->_build_nodes($s); $s = preg_replace_callback('/\|\|([0-9]+)\|\|/', array($this, "_replcb_node"), $s); - $s = str_replace($this->search,$this->replace,$s); + $s = str_replace($this->search,$this->replace, (string) $s); return $s; }