MDL-39954 event: Fixed errors raised while triggering event

This commit is contained in:
Frederic Massart 2013-08-14 14:53:43 +08:00
parent dde244c046
commit 29b8b7c7ad
3 changed files with 4 additions and 16 deletions

View file

@ -218,7 +218,7 @@ if ($edit) {
'objectid' => $submission->id,
'other' => array(
'content' => $formdata->content,
'files' => array_keys($files)
'pathnamehashes' => array_keys($files)
)
);
$event = \mod_workshop\event\assessable_uploaded::create($params);