Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Add null check around since conversion for NextCloud
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanlong committed May 29, 2019
1 parent b5e0165 commit e846463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/backend/owncloud/OwncloudNewsInterface.vala
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ public class FeedReader.OwncloudNewsInterface : FeedServerInterface {

if(count == -1)
{
m_api.getNewArticles(articles, (int)since.to_unix(), type, id);
m_api.getNewArticles(articles, since != null ? (int)since.to_unix() : 0, type, id);
}
else
{
Expand Down

0 comments on commit e846463

Please sign in to comment.