Browse Source

Fixed bad reference to util class

pecesama 16 years ago
parent
commit
3075f0adfc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      classes/util.class.php

+ 1 - 1
classes/util.class.php View File

439
 			$validTags ='<p><ol><ul><li><a><abbr><acronym><blockquote><code><pre><em><i><strong><b><del><br><span><div><img>';
439
 			$validTags ='<p><ol><ul><li><a><abbr><acronym><blockquote><code><pre><em><i><strong><b><del><br><span><div><img>';
440
 		}
440
 		}
441
 		$source = strip_tags($source, $validTags);
441
 		$source = strip_tags($source, $validTags);
442
-		return preg_replace('/<(.*?)>/ie', "'<'.removeBadAtributes('\\1').'>'", $source);
442
+		return preg_replace('/<(.*?)>/ie', "'<'.util::removeBadAtributes('\\1').'>'", $source);
443
 	}
443
 	}
444
 
444
 
445
 	function removeBadAtributes($sourceTag) {
445
 	function removeBadAtributes($sourceTag) {