This commit is contained in:
Nicolas Lœuillet 2014-01-07 13:13:30 +01:00
commit f41d00ed8a

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;