|
@@ -39,7 +39,7 @@ require_once DOL_DOCUMENT_ROOT.'/holiday/common.inc.php';
|
|
|
$myparam = GETPOST("myparam");
|
|
|
$action=GETPOST('action', 'alpha');
|
|
|
$id=GETPOST('id', 'int');
|
|
|
-$fuserid = (GETPOST('fuserid')?:$user->id);
|
|
|
+$fuserid = (GETPOST('fuserid','int')?GETPOST('fuserid','int'):$user->id);
|
|
|
|
|
|
// Protection if external user
|
|
|
if ($user->societe_id > 0) accessforbidden();
|