Fix null publishing date ... hopefully ok !
This commit is contained in:
parent
adb00846ad
commit
2c26ed47e9
2
book.php
2
book.php
|
@ -247,7 +247,7 @@ class Book extends Base {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPubDate () {
|
public function getPubDate () {
|
||||||
if (is_null ($this->pubdate) || ($this->pubdate <= -58979926800)) {
|
if (is_null ($this->pubdate) || ($this->pubdate <= -58979923200)) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue