1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-23 17:42:15 -05:00

Fixes bug 359

This commit is contained in:
Thomas Citharel 2014-01-04 21:50:08 +01:00
parent 7f66783976
commit 607e12b4f2

View File

@ -19,7 +19,7 @@ class FlattrItem {
$this->status = FLATTRABLE;
}
}
elseif ($result->link) {
elseif (is_object($result) && $result->link) {
$this->status = FLATTRED;
$this->flattrItemURL = $result->link;
$this->numflattrs = $result->flattrs;