Changeset 17397
- Timestamp:
- 04/17/09 17:23:14 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/pkPersistentFileUploadPlugin/trunk/lib/widget/pkWidgetFormInputFilePersistent.class.php
r16281 r17397 82 82 if ($iheight && $iwidth) 83 83 { 84 $height = $width * ($iheight / $iwidth); 84 // Lack of rounding produced filenames with extra decimal points 85 // which broke the previewer 86 $height = floor($width * ($iheight / $iwidth)); 85 87 } 86 88 }