From b66954a00daf8f8461626b52bee6030eac8843fd Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 5 Mar 2016 16:20:28 +0000 Subject: [PATCH] Fix picture list in item details --- lib/App/Web/Oof.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Web/Oof.pm b/lib/App/Web/Oof.pm index 90cf972..3e76325 100644 --- a/lib/App/Web/Oof.pm +++ b/lib/App/Web/Oof.pm @@ -208,7 +208,7 @@ sub details_app { $tree->find('title')->replace_content("Pictures of $title | ledparts4you"); $tree->find('h2')->replace_content($title); $tree->look_down(rel => 'canonical')->attr(href => "/details/$id/$slug"); - $tree->fid('pictures')->iter3(\@pics, \&details_list_element); + $tree->fid('pictures')->find('li')->iter3(\@pics, \&details_list_element); [200, ['Content-type' => 'text/html; charset=utf-8'], [$tree->as_HTML]] } -- 2.30.2