Get value from enum for database insertions
This commit is contained in:
		
							parent
							
								
									8c0948c703
								
							
						
					
					
						commit
						4dc5757543
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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"),
 | 
			
		||||
                ]);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue