fix #361 - Watermark Y repeat

This commit is contained in:
modus75
2015-10-15 22:05:20 +02:00
parent 11ccdff585
commit d7fef70c4c
6 changed files with 28 additions and 9 deletions
+2 -1
View File
@@ -578,7 +578,7 @@ switch ($page['section'])
$position = 'bottomright';
}
if ($wm->xrepeat != 0)
if ($wm->xrepeat != 0 || $wm->yrepeat != 0)
{
$position = 'custom';
}
@@ -592,6 +592,7 @@ switch ($page['section'])
'xpos' => $wm->xpos,
'ypos' => $wm->ypos,
'xrepeat' => $wm->xrepeat,
'yrepeat' => $wm->yrepeat,
'opacity' => $wm->opacity,
'position' => $position,
)