1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-27 11:22:17 -05:00

Merge pull request #381 from tcitworld/dev

Flattr Class : Bug 359
This commit is contained in:
Nicolas Lœuillet 2014-01-06 10:07:29 -08:00
commit be4c8197eb

View File

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