html parse - another try
authorHarvie <tomas@mudrunka.cz>
Tue, 26 Oct 2010 23:03:11 +0000 (01:03 +0200)
committerHarvie <tomas@mudrunka.cz>
Tue, 26 Oct 2010 23:03:11 +0000 (01:03 +0200)
wwwroot/inc/htmlparse.inc
wwwroot/inc/nodes.inc

index 4767d4ea81073cfeb1b249a2005a8f48c015f7df..21b81ce395fe570edd6b7164fa23941a61f40408 100644 (file)
@@ -2,9 +2,8 @@
 
 class htmlparse {
 
-public static function htmlparse($data)
+function htmlparse($data)
 {
-       echo 'fooooook\n';
    /*
    if function finds anything unsafe,it will return
    FALSE and saves a reason info global variable $htmlparse
index 2b7053695068640759f99266ab8a87f8e22d7176..2eefeb264e43b0ad464a5f93b5efb7a67bb815e6 100644 (file)
@@ -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.124335 seconds and 4 git commands to generate.