浏览代码

Fix missing CSV headers

Alan Lam 2 年之前
父节点
当前提交
ca56da48be
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      template_processing/age_verification/project_customer_csv.php

+ 1 - 1
template_processing/age_verification/project_customer_csv.php

@@ -19,7 +19,7 @@ $field_names = [
 ];
 
 if($config->hasAlcohol ?? false) {
-	array_splice($field_names, 2, ["Gaming Void", "Alcohol Void"]);
+	array_splice($field_names, 2, 0, ["Gaming Void", "Alcohol Void"]);
 }
 
 foreach($fields as $field) {