htmlparser fix test
authorHarvie <tomas@mudrunka.cz>
Tue, 26 Oct 2010 23:24:08 +0000 (01:24 +0200)
committerHarvie <tomas@mudrunka.cz>
Tue, 26 Oct 2010 23:24:08 +0000 (01:24 +0200)
wwwroot/inc/htmlparse.inc
wwwroot/inc/nodes.inc

index 21b81ce395fe570edd6b7164fa23941a61f40408..4e49a5b37862560189ff13f0978b11cd585d16b8 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 
-class htmlparse {
+class htmlparser {
 
-function htmlparse($data)
+public static function htmlparse($data)
 {
    /*
    if function finds anything unsafe,it will return
index b4adcdd48b64d22827adb33c4aef1592c2231203..2149d91d73564c1e7ce25e4740a3f243f7dda6fd 100644 (file)
@@ -142,7 +142,7 @@ function processContent($node_content) {
         else {
                 global $db,$htmlparse,$error;
 
-                if (!htmlparse::htmlparse($node_content)) {
+                if (!htmlparser::htmlparse($node_content)) {
                         $error=$htmlparse;
                         return false;
                 }
This page took 0.098091 seconds and 4 git commands to generate.