Possible fix for attachment helper

This commit is contained in:
James Cole 2016-02-16 13:30:50 +01:00
parent dfb595193a
commit ee960d76c7

View File

@ -80,7 +80,7 @@ class AttachmentHelper implements AttachmentHelperInterface
if(Input::hasFile('attachments')) { if(Input::hasFile('attachments')) {
$files = Input::file('attachments'); $files = Input::file('attachments');
} }
} catch (Error $e) { } catch (TypeError $e) {
// Log it, do nothing else. // Log it, do nothing else.
Log::error($e->getMessage()); Log::error($e->getMessage());
} }