Don't allow access if user has already taken part
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
2e3be4d460
commit
c03647a1c4
5 changed files with 97 additions and 0 deletions
|
|
@ -438,6 +438,7 @@ class ApiController extends Controller {
|
|||
$newEvent->setDescription($event['description']);
|
||||
|
||||
$newEvent->setIsAnonymous($event['isAnonymous']);
|
||||
$newEvent->setUnique($event['unique']);
|
||||
|
||||
if ($event['access'] === 'select') {
|
||||
$shareAccess = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue