aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xinc/poche/Poche.class.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 27d6f4a6..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
@@ -812,4 +815,4 @@ class Poche
812 } 815 }
813 816
814 817
815} \ No newline at end of file 818}