소스 검색

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) {