Merge pull request #40 from marcelklehr/fix/re-submit

Don't allow access if registered user has already taken part in survey
This commit is contained in:
Affan Hussain 2019-10-15 20:21:48 -07:00 committed by GitHub
commit d62154e3cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 97 additions and 0 deletions

View file

@ -442,6 +442,7 @@ class ApiController extends Controller {
$newEvent->setDescription($event['description']);
$newEvent->setIsAnonymous($event['isAnonymous']);
$newEvent->setUnique($event['unique']);
if ($event['access'] === 'select') {
$shareAccess = '';