diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 18860ddc6..561de808d 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php @@ -381,17 +381,17 @@ class Poche $tidy = tidy_parse_string($content, array('indent'=>true, 'show-body-only' => true), 'UTF8'); $tidy->cleanRepair(); $content = $tidy->value; - - # flattr checking - $flattr = new FlattrItem(); - $flattr->checkItem($entry['url']); - - $tpl_vars = array( - 'entry' => $entry, - 'content' => $content, - 'flattr' => $flattr - ); } + + # flattr checking + $flattr = new FlattrItem(); + $flattr->checkItem($entry['url']); + + $tpl_vars = array( + 'entry' => $entry, + 'content' => $content, + 'flattr' => $flattr + ); } else { Tools::logm('error in view call : entry is null');