From 8c611fdc1be65d46e1ddfa0c3bae312d801fa777 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 9 May 2009 21:11:55 +0000 Subject: Oops, add in a missing ] (thanks kb7sei!) --- modules/g2_import/helpers/g2_import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/g2_import/helpers/g2_import.php') diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php index dbe2260d..5c72a2ec 100644 --- a/modules/g2_import/helpers/g2_import.php +++ b/modules/g2_import/helpers/g2_import.php @@ -349,7 +349,7 @@ class g2_import_Core { // Compare the counts. If the best fitting height does not match the best fitting width, // then pick the one with the largest count. Otherwise, sum them. if ($sizes[$type]["size"] != $row[1]) { - if ($row[0] > $sizes[$type["count"]]) { + if ($row[0] > $sizes[$type]["count"]]) { $sizes[$type] = array("size" => $row[1], "count" => $row[0]); } } else { -- cgit v1.2.3