mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-23 17:42:15 -05:00
Merge pull request #975 from wallabag/fixflattrcalls
don't call flattr if flattr is disabled
This commit is contained in:
commit
7a21c308be
@ -405,8 +405,11 @@ class Poche
|
|||||||
}
|
}
|
||||||
|
|
||||||
# flattr checking
|
# flattr checking
|
||||||
|
$flattr = NULL;
|
||||||
|
if (FLATTR) {
|
||||||
$flattr = new FlattrItem();
|
$flattr = new FlattrItem();
|
||||||
$flattr->checkItem($entry['url'], $entry['id']);
|
$flattr->checkItem($entry['url'], $entry['id']);
|
||||||
|
}
|
||||||
|
|
||||||
# tags
|
# tags
|
||||||
$tags = $this->store->retrieveTagsByEntry($entry['id']);
|
$tags = $this->store->retrieveTagsByEntry($entry['id']);
|
||||||
|
Loading…
Reference in New Issue
Block a user