浏览代码

FIX: missing variables in payment form

AXeL-dev 7 年之前
父节点
当前提交
46800afac9
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      htdocs/compta/salaries/card.php

+ 6 - 0
htdocs/compta/salaries/card.php

@@ -214,6 +214,12 @@ if ($action == 'create')
 		$pastmonthyear--;
 	}
 
+	$datespmonth = GETPOST('datespmonth', 'int');
+	$datespday = GETPOST('datespday', 'int');
+	$datespyear = GETPOST('datespyear', 'int');
+	$dateepmonth = GETPOST('dateepmonth', 'int');
+	$dateepday = GETPOST('dateepday', 'int');
+	$dateepyear = GETPOST('dateepyear', 'int');
 	$datesp=dol_mktime(0, 0, 0, $datespmonth, $datespday, $datespyear);
 	$dateep=dol_mktime(23, 59, 59, $dateepmonth, $dateepday, $dateepyear);