[*] BO Module watermark: minimum transparency level is 1 and not 0.
This commit is contained in:
1 parent
075a911cee
commit
d1a7ff50d5
1 file changed
+1
-1
@@ -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))
|
||||||
|
|||||||
Reference in new issue
Block a user