summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-12 05:56:27 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-12 05:56:27 +0000
commitdf3a1e730e285cf8a9c189cb602f7d5dee651101 (patch)
tree65245ad0657743f528517cd895d27a073d8dd981
parentfdb17d75cebed56be0011eea2abba237320ceddf (diff)
Skip the copy if the watermark module is enabled *and* there's a watermark.
-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 482f4089..ef8065ad 100644
--- a/modules/g2_import/helpers/g2_import.php
+++ b/modules/g2_import/helpers/g2_import.php
@@ -384,7 +384,7 @@ class g2_import_Core {
// Precaution: if the Gallery2 item was watermarked, or we have the Gallery3 watermark module
// active then we'd have to do something a lot more sophisticated here. For now, just skip
// this step in those cases.
- if (module::is_installed("watermark")) {
+ if (module::is_installed("watermark") && module::get_var("watermark", "name")) {
return;
}