Skip to content

Commit

Permalink
fixed NPE when value of meta tag attribute is null
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Einwaller committed Mar 6, 2014
1 parent 1d7160f commit a768050
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class SitemeshTagLib implements RequestConstants {
writer << ' '
writer << k
writer << '="'
writer << InvokerHelper.invokeMethod(v.toString(), "encodeAsHTML", null)
writer << InvokerHelper.invokeMethod(v ? v.toString() : "", "encodeAsHTML", null)
writer << '"'
}
}
Expand Down

0 comments on commit a768050

Please sign in to comment.