diff --git a/lib/ManualImageCrop.php b/lib/ManualImageCrop.php index 171e333..9c48a72 100644 --- a/lib/ManualImageCrop.php +++ b/lib/ManualImageCrop.php @@ -437,7 +437,7 @@ public function cropImage( $data = null, $silent_result = false ) { } // Generate Retina Image - if ( isset( $data['make2x'] ) && $data['make2x'] === 'true' ) { + if ( isset( $data['make2x'] ) && $data['make2x'] === true ) { $dst_w2x = $dst_w * 2; $dst_h2x = $dst_h * 2;