diff --git a/src/DataForm/Field/File.php b/src/DataForm/Field/File.php index 3be61254..78e29d98 100644 --- a/src/DataForm/Field/File.php +++ b/src/DataForm/Field/File.php @@ -228,7 +228,7 @@ protected function uploadFile($filename, $safe = false) $this->file->move($this->path, $filename); $this->saved = $this->path. $filename; } - \Event::fire('rapyd.uploaded.'.$this->name); + \Event::dispatch('rapyd.uploaded.'.$this->name); return true; }