Alexandre SPANGARO 3 years ago
parent
commit
b6dfa4179b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      htdocs/expensereport/card.php

+ 3 - 0
htdocs/expensereport/card.php

@@ -1628,6 +1628,8 @@ if ($action == 'create') {
 
 			print dol_get_fiche_head($head, 'card', $langs->trans("ExpenseReport"), -1, 'trip');
 
+			$formconfirm = '';
+
 			// Clone confirmation
 			if ($action == 'clone') {
 				// Create an array for form
@@ -1927,6 +1929,7 @@ if ($action == 'create') {
 
 			// List of payments already done
 			$nbcols = 3;
+			$nbrows = 0;
 			if (!empty($conf->banque->enabled)) {
 				$nbrows++;
 				$nbcols++;