From 1fd9944a42805ee6d7e4835e6e3ed4c71f1b887d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Miko=C5=82ajczuk?= Date: Sun, 13 Dec 2015 19:28:26 +0000 Subject: [PATCH] fix code typo --- newscoop/library/Newscoop/Image/ImageService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newscoop/library/Newscoop/Image/ImageService.php b/newscoop/library/Newscoop/Image/ImageService.php index 068cf070e4..e635e2e500 100644 --- a/newscoop/library/Newscoop/Image/ImageService.php +++ b/newscoop/library/Newscoop/Image/ImageService.php @@ -159,7 +159,7 @@ public function upload(UploadedFile $file, array $attributes, ImageInterface $im 'quality' => 90, //from 0 to 100 )); $filesystem->chmod($thumbnailPath, 0644); - } catch (\Exceptiom $e) { + } catch (\Exception $e) { $filesystem->remove($imagePath); $filesystem->remove($thumbnailPath); $this->orm->remove($image);