summaryrefslogtreecommitdiff
path: root/modules/g2_import/helpers/g2_import.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-09 21:13:59 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-09 21:13:59 +0000
commita43c57bf61a3f82396e4ff299bda155551bcef8c (patch)
tree8285ad31cf1af2e6c113dfaeb8abb70f99dc49b3 /modules/g2_import/helpers/g2_import.php
parent8c611fdc1be65d46e1ddfa0c3bae312d801fa777 (diff)
Sigh.. fix it the *right* way.
Diffstat (limited to 'modules/g2_import/helpers/g2_import.php')
-rw-r--r--modules/g2_import/helpers/g2_import.php2
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 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 {