Changeset 16991 for trunk


Ignore:
Timestamp:
Jul 24, 2012, 10:54:08 PM (12 years ago)
Author:
rvelices
Message:

bug 2682: Watermark sizing calculation is made on the requested size not on the final one - fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/derivative_params.inc.php

    r16989 r16991  
    289289      $min_size = ImageStdParams::get_watermark()->min_size;
    290290      return $min_size[0]<=$out_size[0]
    291         && $min_size[1]<=$$out_size[1];
     291        || $min_size[1]<=$$out_size[1];
    292292    }
    293293    return false;
Note: See TracChangeset for help on using the changeset viewer.