Skip to content

Commit bd7f103

Browse files
Update lib/Service/FormsService.php
Co-authored-by: Christian Hartmann <chris-hartmann@gmx.de> Signed-off-by: L'Africain <fr.cyrille@tiberiade.be>
1 parent 48f8e2b commit bd7f103

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/Service/FormsService.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ public function canSubmit(Form $form): bool {
493493
if ($maxSubmissions !== null && $this->submissionMapper->countSubmissions($form->getId()) >= $maxSubmissions) {
494494
return false;
495495
}
496+
496497
// We cannot control how many time users can submit if public link available
497498
if ($this->hasPublicLink($form)) {
498499
return true;

0 commit comments

Comments
 (0)