Don't allow access if user has already taken part

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2019-08-01 17:02:45 +02:00
commit c03647a1c4
5 changed files with 97 additions and 0 deletions

View file

@ -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 = '';