فهرست منبع

Fix array to string conversion

Alan Lam 2 سال پیش
والد
کامیت
fa86e29994
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      template_processing/age_verification/project_customer_csv.php

+ 2 - 2
template_processing/age_verification/project_customer_csv.php

@@ -32,8 +32,8 @@ foreach($tests as $test) {
 	$tester = $test->getTester();
 	$values = $test->getValues(true);
 
-	$total_test_count = $location->getCompletedTests();
-	$current_test_count = $location->getCompletedTests(["dts_start" => $year_cycle_constraint]);
+	$total_test_count = count($location->getCompletedTests());
+	$current_test_count = count($location->getCompletedTests(["dts_start" => $year_cycle_constraint]));
 
 	$test_date = "";
 	$test_start = "";