Fix #yogosha5657
This commit is contained in:
parent
e37e0399e5
commit
af340ec133
@ -39,6 +39,9 @@ $object = new Opensurveysondage($db);
|
||||
$result = $object->fetch(0, $numsondage);
|
||||
if ($result <= 0) dol_print_error('', 'Failed to get survey id '.$numsondage);
|
||||
|
||||
// Security check
|
||||
if (!$user->rights->opensurvey->read) accessforbidden();
|
||||
|
||||
|
||||
/*
|
||||
* Actions
|
||||
|
||||
Loading…
Reference in New Issue
Block a user