From 2c26ed47e9542d4ccdf664f90947eae76e1524d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Thu, 21 Feb 2013 21:18:26 +0100 Subject: [PATCH] Fix null publishing date ... hopefully ok ! --- book.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book.php b/book.php index 3cc8e65..7135536 100644 --- a/book.php +++ b/book.php @@ -247,7 +247,7 @@ class Book extends Base { } public function getPubDate () { - if (is_null ($this->pubdate) || ($this->pubdate <= -58979926800)) { + if (is_null ($this->pubdate) || ($this->pubdate <= -58979923200)) { return ""; } else {