From 730322ee5fd1b04a026ce6d0bafae9079f307a4b Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 15 May 2011 16:36:49 -0700 Subject: bug #70 - error messages on group deletion, warning cleanup --- include/template_processor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/template_processor.php') diff --git a/include/template_processor.php b/include/template_processor.php index d431831cb..efdfbaecb 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; } -- cgit v1.2.3