mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
fix #361 - Watermark Y repeat
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user