Skip to content

Commit

Permalink
response_headers need to be packed
Browse files Browse the repository at this point in the history
incase they are an empty array
  • Loading branch information
cornernote authored Jul 5, 2022
1 parent 9f0a416 commit c5914e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audit/components/AuditErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,8 @@ public function endAuditRequest()
}
}
$auditRequest->response_headers = $this->removeValuesWithPasswordKeys($auditRequest->response_headers);
$auditRequest->response_headers = AuditHelper::pack($auditRequest->response_headers);
}
$auditRequest->response_headers = AuditHelper::pack($auditRequest->response_headers);

$auditRequest->user_id = Yii::app()->user->id;
$auditRequest->memory_usage = memory_get_usage();
Expand Down

0 comments on commit c5914e5

Please sign in to comment.