Add new project form, and allow projects to be created when attempting to create a placeholder that already exists.

This commit is contained in:
Alex Cabal 2024-12-16 21:27:45 -06:00
parent 8e6b05a150
commit d902074285
17 changed files with 217 additions and 29 deletions

View file

@ -191,7 +191,7 @@ class Project{
}
if(!isset($this->Started)){
$error->Add(new Exceptions\StartedTimestampRequiredException());
$this->Started = NOW;
}
if($error->HasExceptions){
@ -356,6 +356,7 @@ class Project{
}
public function FillFromHttpPost(): void{
$this->PropertyFromHttp('EbookId');
$this->PropertyFromHttp('ProducerName');
$this->PropertyFromHttp('ProducerEmail');
$this->PropertyFromHttp('DiscussionUrl');