Explorar el Código

Fix missing CSV headers

Alan Lam hace 2 años
padre
commit
ca56da48be
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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) {