https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28883

--- Comment #40 from Marcel de Rooy <[email protected]> ---
[PATCH 4/5] Bug 28883: Fix wrong list context calls
-    my $images = $biblio->cover_images;
-    $template->param( localimages => $biblio->cover_images );
+    $template->param( localimages => scalar $biblio->cover_images );
Why didnt you pass $images instead ? The original code was a bit weird.

But yes, it serves as a good example of why we cannot do this without
immediately fixing a lot of calls.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to