Open mrchimp opened 8 years ago
The only way I've found to do this so far is
if ($my_model->my_file->originalFilename() !== null) {
...which isn't terrible but feels a little hacky. Is there another way I'm supposed to do this?
I am doing the same, it is horrible to do this.
The only way I've found to do this so far is
...which isn't terrible but feels a little hacky. Is there another way I'm supposed to do this?