Skip to content

Commit

Permalink
Merge PR #56
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengchun committed Oct 25, 2020
2 parents cdecca3 + fd14a12 commit a5d9242
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions func.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func nameFunc(arg query) func(query, iterator) interface{} {
if arg == nil {
v = t.Current()
} else {
v = arg.Select(t)
v = arg.Clone().Select(t)
if v == nil {
return ""
}
Expand All @@ -176,7 +176,7 @@ func localNameFunc(arg query) func(query, iterator) interface{} {
if arg == nil {
v = t.Current()
} else {
v = arg.Select(t)
v = arg.Clone().Select(t)
if v == nil {
return ""
}
Expand All @@ -193,7 +193,7 @@ func namespaceFunc(arg query) func(query, iterator) interface{} {
v = t.Current()
} else {
// Get the first node in the node-set if specified.
v = arg.Select(t)
v = arg.Clone().Select(t)
if v == nil {
return ""
}
Expand Down

0 comments on commit a5d9242

Please sign in to comment.