Skip to content

Commit 69375f7

Browse files
authored
add missing var
1 parent f15c476 commit 69375f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/signed-xml.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ SignedXml.prototype.validateReferences = function(doc) {
322322
var num_elements_for_id = 0;
323323
for (var index in this.idAttributes) {
324324
if (!this.idAttributes.hasOwnProperty(index)) continue;
325-
tmp_elem = select(doc, "//*[@*[local-name(.)='" + this.idAttributes[index] + "']='" + uri + "']")
325+
var tmp_elem = select(doc, "//*[@*[local-name(.)='" + this.idAttributes[index] + "']='" + uri + "']")
326326
num_elements_for_id += tmp_elem.length;
327327
if (tmp_elem.length > 0) {
328328
elem = tmp_elem;

0 commit comments

Comments
 (0)