Browse Source

Update card.php

Laurent Destailleur 8 years ago
parent
commit
5776a948c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/holiday/card.php

+ 1 - 1
htdocs/holiday/card.php

@@ -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();