diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-09 21:11:55 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-09 21:11:55 +0000 |
commit | 8c611fdc1be65d46e1ddfa0c3bae312d801fa777 (patch) | |
tree | 5ffbf3d2a009fb32483d92ff377409a9a9289061 | |
parent | 6b00aa70e069a154fb8218cbdee7d222d89fcd91 (diff) |
Oops, add in a missing ] (thanks kb7sei!)
-rw-r--r-- | modules/g2_import/helpers/g2_import.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |