[Fusionforge-commits] r10507 - trunk/src/common/rss

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Thu Sep 16 21:04:26 CEST 2010


Author: aljeux
Date: 2010-09-16 21:04:25 +0200 (Thu, 16 Sep 2010)
New Revision: 10507

Modified:
   trunk/src/common/rss/simplepie.inc
Log:
Fix PHP5 warnings

Modified: trunk/src/common/rss/simplepie.inc
===================================================================
--- trunk/src/common/rss/simplepie.inc	2010-09-16 15:55:06 UTC (rev 10506)
+++ trunk/src/common/rss/simplepie.inc	2010-09-16 19:04:25 UTC (rev 10507)
@@ -8844,7 +8844,7 @@
 		return $output . $input;
 	}
 
-	function get_element($realname, $string)
+	static function get_element($realname, $string)
 	{
 		$return = array();
 		$name = preg_quote($realname, '/');
@@ -10725,7 +10725,7 @@
 		}
 	}
 
-	function atom_10_construct_type($attribs)
+	static function atom_10_construct_type($attribs)
 	{
 		if (isset($attribs['']['type']))
 		{




More information about the Fusionforge-commits mailing list