@@ -28,7 +28,7 @@ |
||
28 | 28 | |
29 | 29 | public function _on_creating() : bool |
30 | 30 | { |
31 | - if ( $this->title == '' |
|
31 | + if ($this->title == '' |
|
32 | 32 | || !$this->topic) { |
33 | 33 | // We must have wikiword and topic at this stage |
34 | 34 | return false; |
@@ -56,7 +56,7 @@ |
||
56 | 56 | $this->save_attachment_list(); |
57 | 57 | } |
58 | 58 | |
59 | - if ( array_intersect_key(array_flip(['description', 'title', 'score']), $this->value) |
|
59 | + if (array_intersect_key(array_flip(['description', 'title', 'score']), $this->value) |
|
60 | 60 | && $main = $this->get_main()) { |
61 | 61 | $needs_update = false; |
62 | 62 | if (array_key_exists('description', $this->value)) { |
@@ -88,7 +88,7 @@ |
||
88 | 88 | return; |
89 | 89 | } |
90 | 90 | |
91 | - $project = new org_openpsa_projects_project($task->project); |
|
91 | + $project = new org_openpsa_projects_project($task->project); |
|
92 | 92 | |
93 | 93 | $qb = org_openpsa_contacts_role_dba::new_query_builder(); |
94 | 94 | $qb->add_constraint('person', '=', $this->person); |