remove unnecessary implode()

This commit is contained in:
Marc Michalsky forumZFD 2020-09-29 16:13:31 +02:00
parent 7a94e43801
commit 350bb513a0
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -105,7 +105,7 @@ class TwingleProject {
// Give information back if project already exists // Give information back if project already exists
return [ return [
'title' => $this->values['title'], 'title' => $this->values['title'],
'id' => is_array($this->id) ? implode(', ', $this->id) : $this->id, 'id' => $this->id,
'project_id' => $this->values['id'], 'project_id' => $this->values['id'],
'state' => 'exists', 'state' => 'exists',
]; ];