Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Check for both null AND false in get_local_date(). Fixes #28

  • Loading branch information...
commit f504e34cee6b8d21d72296b99fa73af194aba470 1 parent ffaea43
@rmccue rmccue authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  simplepie.inc
View
2  simplepie.inc
@@ -3648,7 +3648,7 @@ class SimplePie_Item
{
return $this->sanitize($this->get_date(''), SIMPLEPIE_CONSTRUCT_TEXT);
}
- elseif (($date = $this->get_date('U')) !== null)
+ elseif (($date = $this->get_date('U')) !== null && $date !== false)
{
return strftime($date_format, $date);
}
Please sign in to comment.
Something went wrong with that request. Please try again.