From: Nicolas LÅ“uillet Date: Fri, 20 Sep 2013 12:09:26 +0000 (+0200) Subject: fix bug #225: blank page on article page X-Git-Tag: 1.0-beta5.1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=refs%2Ftags%2F1.0-beta5.1;hp=b8c67f80688c8ba45e3207c6a212f97cac0537ac;p=github%2Fwallabag%2Fwallabag.git fix bug #225: blank page on article page --- diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 18860ddc..561de808 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']); + # flattr checking + $flattr = new FlattrItem(); + $flattr->checkItem($entry['url']); - $tpl_vars = array( - 'entry' => $entry, - 'content' => $content, - 'flattr' => $flattr - ); - } + $tpl_vars = array( + 'entry' => $entry, + 'content' => $content, + 'flattr' => $flattr + ); } else { Tools::logm('error in view call : entry is null');