diff --git a/lib/messages/add_request.js b/lib/messages/add_request.js index afed4b4..5c8a33a 100644 --- a/lib/messages/add_request.js +++ b/lib/messages/add_request.js @@ -135,7 +135,7 @@ AddRequest.prototype.getAttribute = function (name) { for (var i = 0; i < this.attributes.length; i++) { if (this.attributes[i].type === name) - return this.attribute[i]; + return this.attributes[i]; } return null;