From 4cb49b9152e82d0ab53b1038c7a7d7203c8bf97d Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 3 Nov 2011 20:05:53 -0700 Subject: Fix a bug introduced in dc21cf36b606048dc24532407d39bc8f5b4211fa where we're basing the thumb proportions on the album's thumbnail, but this will be messed up in the case of the root album which may not have a properly update thumbnail, so its proportions may not be representative of the album's contents. So instead, base the thumb proportions on the first child of the album. --- themes/wind/views/page.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes') diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index 24d3347e..33d49c35 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -24,7 +24,7 @@ " /> page_type == "collection"): ?> - thumb_proportion($theme->item())) != 1): ?> + thumb_proportion($children[0])) != 1): ?>