aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/configuration_watermark_process.inc.php
diff options
context:
space:
mode:
authormodus75 <modus75@users.noreply.github.com>2015-10-15 22:05:20 +0200
committermodus75 <modus75@users.noreply.github.com>2015-10-15 22:05:20 +0200
commitd7fef70c4c3707fd7650896c5a62f0a7c5cc81f0 (patch)
tree539c0807d513c250242f13e5eebc3e89031b3519 /admin/include/configuration_watermark_process.inc.php
parent11ccdff58523d10ccc970b879c5de01e7ec40ee2 (diff)
fix #361 - Watermark Y repeat
Diffstat (limited to 'admin/include/configuration_watermark_process.inc.php')
-rw-r--r--admin/include/configuration_watermark_process.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/include/configuration_watermark_process.inc.php b/admin/include/configuration_watermark_process.inc.php
index ad23d92a2..2eeb381af 100644
--- a/admin/include/configuration_watermark_process.inc.php
+++ b/admin/include/configuration_watermark_process.inc.php
@@ -126,6 +126,7 @@ if (count($errors) == 0)
$watermark->xpos = intval($pwatermark['xpos']);
$watermark->ypos = intval($pwatermark['ypos']);
$watermark->xrepeat = intval($pwatermark['xrepeat']);
+ $watermark->yrepeat = intval($pwatermark['yrepeat']);
$watermark->opacity = intval($pwatermark['opacity']);
$watermark->min_size = array(intval($pwatermark['minw']),intval($pwatermark['minh']));
@@ -135,6 +136,7 @@ if (count($errors) == 0)
|| $watermark->xpos != $old_watermark->xpos
|| $watermark->ypos != $old_watermark->ypos
|| $watermark->xrepeat != $old_watermark->xrepeat
+ || $watermark->yrepeat != $old_watermark->yrepeat
|| $watermark->opacity != $old_watermark->opacity;
// save the new watermark configuration