Skip to content

Commit 9e712b3

Browse files
author
Cyril Glapa
committed
Updating user data array to restore compatibility with protocol v6
1 parent d2847b0 commit 9e712b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/code/community/AMG/Sentry/Model/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ public function get_user_data(){
4545
reset($data);
4646
$k = key($data);
4747

48-
$data[$k]['email'] = $email;
48+
$data[$k]['data']['email'] = $email;
4949

5050
foreach($this->userData as $key => $value)
5151
{
52-
$data[$k][$key] = $value;
52+
$data[$k]['data'][$key] = $value;
5353
}
5454

5555
return $data;

0 commit comments

Comments
 (0)