diff --git a/htdocs/loan/card.php b/htdocs/loan/card.php index b60db0ef32f..e1e33d719dc 100644 --- a/htdocs/loan/card.php +++ b/htdocs/loan/card.php @@ -63,10 +63,11 @@ $cancel = GETPOST('cancel', 'alpha'); $projectid = GETPOSTINT('projectid'); // Security check +/* $socid = GETPOSTINT('socid'); if ($user->socid) { $socid = $user->socid; -} +} */ $hookmanager->initHooks(array('loancard', 'globalcard')); $result = restrictedArea($user, 'loan', $id, '', ''); @@ -291,8 +292,6 @@ if ($action == 'create') { print load_fiche_titre($langs->trans("NewLoan"), '', 'money-bill-alt'); - $datec = dol_mktime(12, 0, 0, GETPOSTINT('remonth'), GETPOSTINT('reday'), GETPOSTINT('reyear')); - print '