Commit 829b76b1 authored by xaver's avatar xaver

simplepie php 5.4 fix

parent 833369e7
......@@ -10865,7 +10865,7 @@ class SimplePie_Misc
return $output . $data;
}
function parse_date($dt)
static function parse_date($dt)
{
$parser = SimplePie_Parse_Date::get();
return $parser->parse($dt);
......@@ -13065,7 +13065,7 @@ class SimplePie_Parse_Date
*
* @access public
*/
function get()
static function get()
{
static $object;
if (!$object)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment