Another deprecated feature + htmlparser fix
authorHarvie <tomas@mudrunka.cz>
Tue, 26 Oct 2010 23:18:48 +0000 (01:18 +0200)
committerHarvie <tomas@mudrunka.cz>
Tue, 26 Oct 2010 23:18:48 +0000 (01:18 +0200)
wwwroot/inc/nodes.inc

index 2eefeb264e43b0ad464a5f93b5efb7a67bb815e6..b4adcdd48b64d22827adb33c4aef1592c2231203 100644 (file)
@@ -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;
                 }
This page took 0.125512 seconds and 4 git commands to generate.