From ee960d76c7c3442fdb0c60a9e421327f3fb6ddd3 Mon Sep 17 00:00:00 2001 From: James Cole Date: Tue, 16 Feb 2016 13:30:50 +0100 Subject: [PATCH] Possible fix for attachment helper --- app/Helpers/Attachments/AttachmentHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Helpers/Attachments/AttachmentHelper.php b/app/Helpers/Attachments/AttachmentHelper.php index 722f07f840..ab9f0f9ded 100644 --- a/app/Helpers/Attachments/AttachmentHelper.php +++ b/app/Helpers/Attachments/AttachmentHelper.php @@ -80,7 +80,7 @@ class AttachmentHelper implements AttachmentHelperInterface if(Input::hasFile('attachments')) { $files = Input::file('attachments'); } - } catch (Error $e) { + } catch (TypeError $e) { // Log it, do nothing else. Log::error($e->getMessage()); }