소스 검색

fix square images not getting proper thumbnails

tags/v4.0.0beta
Robin Appelman 12 년 전
부모
커밋
266699ddf9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      lib/image.php

+ 1
- 1
lib/image.php 파일 보기

@@ -501,7 +501,7 @@ class OC_Image {
}
$width_orig=imageSX($this->resource);
$height_orig=imageSY($this->resource);
if($width_orig === $height_orig) {
if($width_orig === $height_orig and $size==0) {
return true;
}
$ratio_orig = $width_orig/$height_orig;

Loading…
취소
저장