mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-39954 event: Fixed errors raised while triggering event
This commit is contained in:
parent
dde244c046
commit
29b8b7c7ad
3 changed files with 4 additions and 16 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue