Skip to content

Commit

Permalink
Merge pull request #19 from nkovacs/patch-1
Browse files Browse the repository at this point in the history
add support for user-attributes
  • Loading branch information
emgiezet committed Dec 8, 2014
2 parents d230347 + 31612d1 commit aa689eb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Errbit/Exception/Notice.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,17 @@ function (XmlBuilder $cgiData) use ($options) {
}
);
}

if (!empty($options['user'])) {
$notice->tag(
'user-attributes',
'',
array(),
function (XmlBuilder $user) use ($options) {
Notice::xmlVarsFor($user, $options['user']);
}
);
}

$notice->tag(
'server-environment',
Expand Down

0 comments on commit aa689eb

Please sign in to comment.