Fix null publishing date ... hopefully ok !
This commit is contained in:
parent
adb00846ad
commit
2c26ed47e9
1 changed files with 1 additions and 1 deletions
2
book.php
2
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue