[Fusionforge-commits] r10607 - trunk/src/common/include

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Sep 21 20:56:47 CEST 2010


Author: aljeux
Date: 2010-09-21 20:56:47 +0200 (Tue, 21 Sep 2010)
New Revision: 10607

Modified:
   trunk/src/common/include/TextSanitizer.class.php
Log:
Fix php warnings.

Modified: trunk/src/common/include/TextSanitizer.class.php
===================================================================
--- trunk/src/common/include/TextSanitizer.class.php	2010-09-21 18:56:36 UTC (rev 10606)
+++ trunk/src/common/include/TextSanitizer.class.php	2010-09-21 18:56:47 UTC (rev 10607)
@@ -232,7 +232,7 @@
 		return $text;
 	}
 
-	function purify ($text) {
+	static function purify ($text) {
 		// Remove string like "<![if !supportLists]>" or "<![endif]>"
 		$text = preg_replace('/<!\[.+?\]>/', '', $text);
 		$config = HTMLPurifier_Config::createDefault();




More information about the Fusionforge-commits mailing list