فهرست منبع

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