Skip to content

Commit 6d5f13e

Browse files
committed
MCR-3497 Replace deprecated call
1 parent 3c1575e commit 6d5f13e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mycore-xeditor/src/main/java/org/mycore/frontend/xeditor/transformer/MCROutputTransformerHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ private String output(String attrValue, String attrI18N) {
5454
if (StringUtils.isEmpty(attrValue)) {
5555
return MCRTranslation.translate(key);
5656
} else {
57-
String value = transformationState.getXPathEvaluator().evaluateXPath(attrValue);
57+
String value = transformationState.getXPathEvaluator().evaluateFirstAsString(attrValue);
5858
return MCRTranslation.translate(key, value);
5959
}
6060

0 commit comments

Comments
 (0)