1
0
Fork 0

Get value from enum for database insertions

This commit is contained in:
Ainsley Ellis 2024-12-28 19:54:53 +00:00
parent 8c0948c703
commit 4dc5757543

View file

@ -143,7 +143,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST"):
"doc_is_public" => $show_doc,
"name_is_public" => $show_name,
"transaction_id" => NULL,
"status" => SubmissionStatus::Pending,
"status" => SubmissionStatus::Pending->value,
"is_freeroll" => 0,
"created_at" => date("Y-m-d\TH:i:s\Z"),
]);