summaryrefslogtreecommitdiff
path: root/modules/g2_import/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2013-02-27 09:12:13 -0800
committerBharat Mediratta <bharat@menalto.com>2013-02-27 09:12:13 -0800
commit7c94b930ed029342de54c0a73c59b67f1dad7d1e (patch)
treed4436b228eac2d35f8b1da569bf174f73119bf94 /modules/g2_import/helpers
parent555dfd341e2bcce518289daa3b6c533628cadc49 (diff)
parent891a24151ee7dd197c623b4f482f260009d67096 (diff)
Merge pull request #169 from shadlaws/fix_2021
#2021 - Cleanup thumb_dirty and resize_dirty instances.
Diffstat (limited to 'modules/g2_import/helpers')
-rw-r--r--modules/g2_import/helpers/g2_import.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php
index 70aac747..b155a88a 100644
--- a/modules/g2_import/helpers/g2_import.php
+++ b/modules/g2_import/helpers/g2_import.php
@@ -1055,7 +1055,7 @@ class g2_import_Core {
if (@copy(g2($derivative->fetchPath()), $item->thumb_path())) {
$item->thumb_height = $derivative->getHeight();
$item->thumb_width = $derivative->getWidth();
- $item->thumb_dirty = false;
+ $item->thumb_dirty = 0;
}
}
@@ -1066,7 +1066,7 @@ class g2_import_Core {
if (@copy(g2($derivative->fetchPath()), $item->resize_path())) {
$item->resize_height = $derivative->getHeight();
$item->resize_width = $derivative->getWidth();
- $item->resize_dirty = false;
+ $item->resize_dirty = 0;
}
}
}