Skip to content

Commit

Permalink
gear: fix bug for getCodeText
Browse files Browse the repository at this point in the history
  • Loading branch information
yffrankwang committed Mar 27, 2024
1 parent 9b1a864 commit f50f057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panda-gear/src/main/java/panda/mvc/view/tag/Property.java
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ private String getCodeText(Map m, Object k) {
if (v == null) {
v = k;
}
return (k == null ? Strings.EMPTY : k.toString());
return (v == null ? Strings.EMPTY : v.toString());
}

private String escape(String value) {
Expand Down

0 comments on commit f50f057

Please sign in to comment.