fix: [attribute:editAttributePostProcessing] Call function from the correct model

notes
Sami Mokaddem 2024-02-15 12:09:36 +01:00
parent 0e47d79340
commit 66926d1b60
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -2796,7 +2796,7 @@ class Attribute extends AppModel
if (!empty($attribute['Sighting'])) {
$this->Sighting->captureSightings($attribute['Sighting'], $attributeId, $eventId, $user);
}
$this->captureAnalystData($user, $attribute);
$this->Event->captureAnalystData($user, $attribute);
if ($user['Role']['perm_tagger']) {
/*
We should unwrap the line below and remove the server option in the future once we have tag soft-delete