Skip to content

Commit 6276402

Browse files
committed
fix(form): unable to upload files from public_form
1 parent f358f2f commit 6276402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front/formdisplay.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@
8282

8383
// If user was not authenticated, remove temporary user
8484
if (isset($_SESSION['formcreator_public'])) {
85-
unset($_SESSION['glpiname']);
8685
unset($_SESSION['formcreator_public']);
8786
session_write_close();
87+
unset($_SESSION['glpiname']);
8888
}
8989
} else if (isset($_GET['answer_saved'])) {
9090
$message = __("The form has been successfully saved!");

0 commit comments

Comments
 (0)