fix: [freetext import] Fixed shadow attribute import

pull/4683/head
chrisr3d 2019-05-28 12:28:04 +10:00
parent bc7fc5a490
commit 486cc9f54a
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 2 additions and 2 deletions

View File

@ -5914,9 +5914,9 @@ class Event extends AppModel
}
$attribute['event_id'] = $id;
if ($objectType == 'ShadowAttribute') {
$attribute['org_id'] = $user['Role']['org_id'];
$attribute['org_id'] = $user['org_id'];
$attribute['event_org_id'] = $event['Event']['orgc_id'];
$attribute['email'] = $user['Role']['email'];
$attribute['email'] = $user['email'];
$attribute['event_uuid'] = $event['Event']['uuid'];
}
// adhere to the warninglist