diff options
Diffstat (limited to 'inc/poche/Poche.class.php')
-rwxr-xr-x | inc/poche/Poche.class.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 16235474..a29cb327 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -405,9 +405,12 @@ class Poche | |||
405 | } | 405 | } |
406 | 406 | ||
407 | # flattr checking | 407 | # flattr checking |
408 | $flattr = new FlattrItem(); | 408 | $flattr = NULL; |
409 | $flattr->checkItem($entry['url'], $entry['id']); | 409 | if (FLATTR) { |
410 | 410 | $flattr = new FlattrItem(); | |
411 | $flattr->checkItem($entry['url'], $entry['id']); | ||
412 | } | ||
413 | |||
411 | # tags | 414 | # tags |
412 | $tags = $this->store->retrieveTagsByEntry($entry['id']); | 415 | $tags = $this->store->retrieveTagsByEntry($entry['id']); |
413 | 416 | ||