31c1b database submission action update not working (#51)
* Editable Submissions * Database submission action-Update Not Working Co-authored-by: JhumanJ <julien@nahum.net>
This commit is contained in:
@@ -112,6 +112,7 @@ class PublicFormController extends Controller
|
||||
}
|
||||
|
||||
$submission = FormSubmission::findOrFail($submissionId);
|
||||
|
||||
if ($submission->form_id != $form->id) {
|
||||
return $this->error([
|
||||
'message' => 'Not allowed.',
|
||||
|
||||
Reference in New Issue
Block a user