Completed
Push — master ( 3aa4c2...e89819 )
by Leo
02:11
created
code/ImageOrientationFixer.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,15 +20,15 @@
 block discarded – undo
20 20
 	private function get_orientation($path) {
21 21
 		if (!file_exists($path)) { return false; }
22 22
 		try {
23
-		    $exif_data = @exif_read_data($path);
24
-		    $orientation = !empty($exif_data['Orientation']) ? $exif_data['Orientation'] : null;
23
+			$exif_data = @exif_read_data($path);
24
+			$orientation = !empty($exif_data['Orientation']) ? $exif_data['Orientation'] : null;
25 25
 			/**
26 26
 			 * this image will help you understand the orientation and the difference between encoded and printed
27 27
 			 * http://www.kendawson.ca/wp-content/uploads/orient_flag2.gif
28 28
 			 */
29 29
 			return $orientation == 1 ? false : $orientation;
30 30
 		} catch (Exception $e) {
31
-		    return false;
31
+			return false;
32 32
 		}
33 33
 	}
34 34
 	
Please login to merge, or discard this patch.