code formatting and smaller errors

This commit is contained in:
Marc Michalsky forumZFD 2020-11-02 17:47:16 +01:00
parent a81eb0c438
commit 937a35e1b8
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
6 changed files with 15 additions and 19 deletions

View file

@ -33,11 +33,7 @@ class TwingleProject extends Campaign {
$this->className = (new \ReflectionClass($this))->getShortName();
$this->prefix = 'twingle_project_';
// Add value for campaign type
$this->values['campaign_type_id'] = 'twingle_project';
// Get custom field name for project_id
$this->id_custom_field = Cache::getInstance()
->getCustomFieldMapping()['twingle_project_id'];