This commit is contained in:
2024-01-19 09:18:06 +07:00
parent e331c692bb
commit 430c1a5ad5

View File

@@ -344,10 +344,12 @@ class MemberEnrollmentService
if (strtotime($date_from_row)){ if (strtotime($date_from_row)){
return date('Y-m-d', strtotime($date_from_row)); return date('Y-m-d', strtotime($date_from_row));
} else { } else {
throw new ImportRowException(__('Format Date Invalid'), 0, null, $row); // throw new ImportRowException(__('Format Date Invalid'), 0, null, $date_from_row);
return null;
} }
} else { } else {
throw new ImportRowException(__('Format Date Invalid'), 0, null, $row); // throw new ImportRowException(__('Format Date Invalid'), 0, null, $date_from_row);
return null;
} }
} }