Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
This commit is contained in:
commit
da757a8b75
@ -90,8 +90,8 @@ if ($fulldayevent) {
|
|||||||
// Security check
|
// Security check
|
||||||
$socid = GETPOST('socid', 'int');
|
$socid = GETPOST('socid', 'int');
|
||||||
$id = GETPOST('id', 'int');
|
$id = GETPOST('id', 'int');
|
||||||
if ($user->socid) {
|
if ($user->socid && ($socid != $user->socid)) {
|
||||||
$socid = $user->socid;
|
accessforbidden();
|
||||||
}
|
}
|
||||||
|
|
||||||
$error = GETPOST("error");
|
$error = GETPOST("error");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user