Development

Changeset 3986

You must first sign up to be able to contribute.

Changeset 3986

Show
Ignore:
Timestamp:
05/10/07 01:02:43 (2 years ago)
Author:
bmeynell
Message:

removed small undefined variable bug when converting files without resizing

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfThumbnailPlugin/lib/sfThumbnail.class.php

    r3974 r3986  
    175175    else 
    176176    { 
    177       if (!$ratioWidth || (!$inflate && $ratioWidth > 1)) 
     177      if (!isset($ratioWidth) || (!$inflate && $ratioWidth > 1)) 
    178178      { 
    179179        $ratioWidth = 1; 
    180180      } 
    181       if (!$ratioHeight || (!$inflate && $ratioHeight > 1)) 
     181      if (!isset($ratioHeight) || (!$inflate && $ratioHeight > 1)) 
    182182      { 
    183183        $ratioHeight = 1;