Fix invalid last update timestamp
This commit is contained in:
1 parent
84aad67a30
commit
7240b766f9
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -45,7 +45,7 @@ class Feed extends PhpObject {
|
||||
$this->iFeedId = $iFeedId;
|
||||
$asFeed = $this->getFeed();
|
||||
$this->sRefFeedId = $asFeed['ref_feed_id'];
|
||||
$this->iLastUpdate = strtotime($asFeed['last_update']);
|
||||
$this->iLastUpdate = $asFeed['last_update']=='0000-00-00 00:00:00'?0:strtotime($asFeed['last_update']);
|
||||
}
|
||||
|
||||
public function createFeedId($oProjectId) {
|
||||
|
||||
Reference in new issue
Block a user