diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-09-20 14:09:26 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-09-20 14:09:26 +0200 |
commit | 3408ed48ba66db8d93207507777be42759f7eb0a (patch) | |
tree | 100823f4009f29d480d9d6f2544d1a83ef5dd78b /inc | |
parent | b8c67f80688c8ba45e3207c6a212f97cac0537ac (diff) | |
download | wallabag-1.0-beta5.1.tar.gz wallabag-1.0-beta5.1.tar.zst wallabag-1.0-beta5.1.zip |
fix bug #225: blank page on article page1.0-beta5.1
Diffstat (limited to 'inc')
-rw-r--r-- | inc/poche/Poche.class.php | 18 |
1 files changed, 9 insertions, 9 deletions
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 | |||
381 | $tidy = tidy_parse_string($content, array('indent'=>true, 'show-body-only' => true), 'UTF8'); | 381 | $tidy = tidy_parse_string($content, array('indent'=>true, 'show-body-only' => true), 'UTF8'); |
382 | $tidy->cleanRepair(); | 382 | $tidy->cleanRepair(); |
383 | $content = $tidy->value; | 383 | $content = $tidy->value; |
384 | } | ||
384 | 385 | ||
385 | # flattr checking | 386 | # flattr checking |
386 | $flattr = new FlattrItem(); | 387 | $flattr = new FlattrItem(); |
387 | $flattr->checkItem($entry['url']); | 388 | $flattr->checkItem($entry['url']); |
388 | 389 | ||
389 | $tpl_vars = array( | 390 | $tpl_vars = array( |
390 | 'entry' => $entry, | 391 | 'entry' => $entry, |
391 | 'content' => $content, | 392 | 'content' => $content, |
392 | 'flattr' => $flattr | 393 | 'flattr' => $flattr |
393 | ); | 394 | ); |
394 | } | ||
395 | } | 395 | } |
396 | else { | 396 | else { |
397 | Tools::logm('error in view call : entry is null'); | 397 | Tools::logm('error in view call : entry is null'); |