Skip to content

Commit

Permalink
Fix bug - saving of required files.
Browse files Browse the repository at this point in the history
  • Loading branch information
galcik committed Sep 23, 2016
1 parent 51b38bc commit 5a3b00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forms/requiredfiles.json.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
'action' => $action
) ) );
echo $OUTPUT->header(); // Send headers.
$data = json_decode( file_get_contents( 'php://input' ) );
$actiondata = json_decode( file_get_contents( 'php://input' ) );
switch ($action) {
case 'save' :
$postfiles = mod_vpl_edit::filesfromide($actiondata->files);
Expand Down

0 comments on commit 5a3b00d

Please sign in to comment.