mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 19:06:49 -04:00
Add new project form, and allow projects to be created when attempting to create a placeholder that already exists.
This commit is contained in:
parent
8e6b05a150
commit
d902074285
17 changed files with 217 additions and 29 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue