summaryrefslogtreecommitdiff
path: root/modules/watermark/controllers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-13 00:09:43 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-13 00:09:43 +0000
commit847de449968dfc815066eac719ddacf60639206c (patch)
treebcdb9f46759ce520d79600dae52e579ff8830aee /modules/watermark/controllers
parent3b52b31c5451bfb4edd92d3f4b0093e51ec2b027 (diff)
Fix the logical inversion of the transparency field. Now, 100% is max
transparency and 1% is min transparency (no transparency at all). Fixes ticket #204.
Diffstat (limited to 'modules/watermark/controllers')
-rw-r--r--modules/watermark/controllers/admin_watermarks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/watermark/controllers/admin_watermarks.php b/modules/watermark/controllers/admin_watermarks.php
index 54ee71b5..b8f519da 100644
--- a/modules/watermark/controllers/admin_watermarks.php
+++ b/modules/watermark/controllers/admin_watermarks.php
@@ -137,7 +137,7 @@ class Admin_Watermarks_Controller extends Admin_Controller {
"width" => module::get_var("watermark", "width"),
"height" => module::get_var("watermark", "height"),
"position" => module::get_var("watermark", "position"),
- "transparency" => module::get_var("watermark", "transparency")),
+ "transparency" => 101 - module::get_var("watermark", "transparency")),
1000);
}
}