X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Fnodes.inc;h=b4adcdd48b64d22827adb33c4aef1592c2231203;hb=63c0e85f25b408f1f2383c8da3526af7cff9caea;hp=2eefeb264e43b0ad464a5f93b5efb7a67bb815e6;hpb=ae13bc85329f5ad48117d76bb7cc6ac993da98c7;p=mirrors%2FKyberia-bloodline.git 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; }