@@ -96,7 +96,7 @@  | 
                                                    ||
| 96 | 96 | */  | 
                                                        
| 97 | 97 |      public static function resizeImage($img_path, $max_width = 1000, $max_height = 1000, $crop = false, $pos = 'center') { | 
                                                        
| 98 | 98 |          ini_set("gd.jpeg_ignore_warning", 1); | 
                                                        
| 99 | -        if(!getimagesize($img_path)){ | 
                                                        |
| 99 | +        if (!getimagesize($img_path)) { | 
                                                        |
| 100 | 100 | return false;  | 
                                                        
| 101 | 101 | }  | 
                                                        
| 102 | 102 | list($img_width, $img_height, $img_type, $img_tag) = getimagesize($img_path);  | 
                                                        
@@ -96,7 +96,7 @@  | 
                                                    ||
| 96 | 96 | */  | 
                                                        
| 97 | 97 |      public static function resizeImage($img_path, $max_width = 1000, $max_height = 1000, $crop = false, $pos = 'center') { | 
                                                        
| 98 | 98 |          ini_set("gd.jpeg_ignore_warning", 1); | 
                                                        
| 99 | -        if(!getimagesize($img_path)){ | 
                                                        |
| 99 | +        if(!getimagesize($img_path)) { | 
                                                        |
| 100 | 100 | return false;  | 
                                                        
| 101 | 101 | }  | 
                                                        
| 102 | 102 | list($img_width, $img_height, $img_type, $img_tag) = getimagesize($img_path);  |