mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-17 18:59:35 +01:00
fix bug #225: blank page on article page
This commit is contained in:
parent
b8c67f8068
commit
3408ed48ba
@ -381,17 +381,17 @@ class Poche
|
|||||||
$tidy = tidy_parse_string($content, array('indent'=>true, 'show-body-only' => true), 'UTF8');
|
$tidy = tidy_parse_string($content, array('indent'=>true, 'show-body-only' => true), 'UTF8');
|
||||||
$tidy->cleanRepair();
|
$tidy->cleanRepair();
|
||||||
$content = $tidy->value;
|
$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 {
|
else {
|
||||||
Tools::logm('error in view call : entry is null');
|
Tools::logm('error in view call : entry is null');
|
||||||
|
Loading…
Reference in New Issue
Block a user