Skip to content

Commit

Permalink
fix(form): unable to upload files from public_form
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jul 11, 2022
1 parent f358f2f commit 6276402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/formdisplay.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@

// If user was not authenticated, remove temporary user
if (isset($_SESSION['formcreator_public'])) {
unset($_SESSION['glpiname']);
unset($_SESSION['formcreator_public']);
session_write_close();
unset($_SESSION['glpiname']);
}
} else if (isset($_GET['answer_saved'])) {
$message = __("The form has been successfully saved!");
Expand Down

0 comments on commit 6276402

Please sign in to comment.