Skip to content

Commit da4af0b

Browse files
committed
Updated version number.
1 parent e5589a2 commit da4af0b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

server/php/upload.class.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/*
3-
* jQuery File Upload Plugin PHP Class 5.9.1
3+
* jQuery File Upload Plugin PHP Class 5.9.2
44
* https://github.com/blueimp/jQuery-File-Upload
55
*
66
* Copyright 2010, Sebastian Tschan
@@ -230,11 +230,9 @@ protected function trim_file_name($name, $type) {
230230

231231
protected function orient_image($file_path) {
232232
$exif = @exif_read_data($file_path);
233-
234-
if ($exif === false) { //if not exif exists, we don't need to continue
233+
if ($exif === false) {
235234
return false;
236235
}
237-
238236
$orientation = intval(@$exif['Orientation']);
239237
if (!in_array($orientation, array(3, 6, 8))) {
240238
return false;

0 commit comments

Comments
 (0)