fix: [Sighting] Fixed sighting creation

pull/3654/head
chrisr3d 2018-09-07 15:45:57 +02:00
parent 77d4bc385e
commit 8628757f65
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ class Sighting extends AppModel
$sighting['org_id'] = $org_id;
$sighting['event_id'] = $event_id;
$sighting['attribute_id'] = $attribute_id;
$this->create();
return $this->save($sighting);
}