From a43c57bf61a3f82396e4ff299bda155551bcef8c Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 9 May 2009 21:13:59 +0000 Subject: Sigh.. fix it the *right* way. --- modules/g2_import/helpers/g2_import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/g2_import/helpers') diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php index 5c72a2ec..a4177479 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