From: Harvie Date: Tue, 26 Oct 2010 23:18:48 +0000 (+0200) Subject: Another deprecated feature + htmlparser fix X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=63c0e85f25b408f1f2383c8da3526af7cff9caea;p=mirrors%2FKyberia-bloodline.git Another deprecated feature + htmlparser fix --- 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; }