From 63c0e85f25b408f1f2383c8da3526af7cff9caea Mon Sep 17 00:00:00 2001 From: Harvie Date: Wed, 27 Oct 2010 01:18:48 +0200 Subject: [PATCH] Another deprecated feature + htmlparser fix --- wwwroot/inc/nodes.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wwwroot/inc/nodes.inc b/wwwroot/inc/nodes.inc index 2eefeb2..b4adcdd 100644 --- a/wwwroot/inc/nodes.inc +++ b/wwwroot/inc/nodes.inc @@ -132,7 +132,7 @@ function processContent($node_content) { require_once 'Text/Wiki.php'; // instantiate a Text_Wiki object with the default rule set - $wiki =& new Text_Wiki(); + $wiki = new Text_Wiki(); $node_content = $wiki->transform($node_content, 'Xhtml'); } @@ -142,7 +142,7 @@ function processContent($node_content) { else { global $db,$htmlparse,$error; - if (!htmlparse->htmlparse($node_content)) { + if (!htmlparse::htmlparse($node_content)) { $error=$htmlparse; return false; } -- 2.30.2