From 6c00badd951b0caccc2ef2cbb88aa10e638f690c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Palaz=C3=B3n=20Candel?= Date: Tue, 8 Oct 2013 19:57:53 +0200 Subject: [PATCH] Fixed Typo on AddRequest.getAttribute --- lib/messages/add_request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;