[*] BO Module watermark: minimum transparency level is 1 and not 0.

This commit is contained in:
Fabio Chelly committed 2013-10-11 10:51:28 +02:00
1 parent 075a911cee
commit d1a7ff50d5
1 file changed
+1 -1
+1 -1
View File
@@ -97,7 +97,7 @@ class Watermark extends Module
if (empty($transparency)) if (empty($transparency))
$this->_postErrors[] = $this->l('Transparency required.'); $this->_postErrors[] = $this->l('Transparency required.');
elseif ($transparency < 0 || $transparency > 100) elseif ($transparency < 1 || $transparency > 100)
$this->_postErrors[] = $this->l('Transparency is not in allowed range.'); $this->_postErrors[] = $this->l('Transparency is not in allowed range.');
if (empty($yalign)) if (empty($yalign))