Skip to content

Commit

Permalink
use watermark if minX OR minY (not AND)
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@14581 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Apr 30, 2012
1 parent b219d87 commit 9ba817a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/derivative_std_params.inc.php
Expand Up @@ -166,7 +166,7 @@ static function apply_global($params)
{
$params->use_watermark = !empty(self::$watermark->file) &&
(self::$watermark->min_size[0]<=$params->sizing->ideal_size[0]
&& self::$watermark->min_size[1]<=$params->sizing->ideal_size[1] );
or self::$watermark->min_size[1]<=$params->sizing->ideal_size[1] );
}

private static function build_maps()
Expand Down

0 comments on commit 9ba817a

Please sign in to comment.