diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-05-12 05:56:27 +0000 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-12 05:56:27 +0000 | 
| commit | df3a1e730e285cf8a9c189cb602f7d5dee651101 (patch) | |
| tree | 65245ad0657743f528517cd895d27a073d8dd981 /modules/g2_import/helpers/g2_import.php | |
| parent | fdb17d75cebed56be0011eea2abba237320ceddf (diff) | |
Skip the copy if the watermark module is enabled *and* there's a watermark.
Diffstat (limited to 'modules/g2_import/helpers/g2_import.php')
| -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 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;      } | 
