Skip to content

Commit

Permalink
testing change xapi name to samaaccoutn name rather then grav user
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaudry committed Jan 14, 2022
1 parent ef26589 commit b7d3185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xapi.php
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ protected function prepareVerb($verbID = '') {
private function prepareAgent(User $gravUser) {
return new Agent([
'mbox' => 'mailto:' . strtolower($gravUser->email),
'name' => strtolower(isset($this->user->ldap->sAMAccountName)?$this->user->ldap->sAMAccountName:$gravUser->username)
'name' => strtolower(isset($this->user['ldap']['sAMAccountName'])?$this->user->ldap->sAMAccountName:$gravUser->username)
]);
}

Expand Down

0 comments on commit b7d3185

Please sign in to comment.