* sanity check

This commit is contained in:
Reinhard Pointner 2015-11-19 12:42:11 +00:00
parent 348cea60bf
commit aaa5a71e49
1 changed files with 3 additions and 1 deletions

View File

@ -777,9 +777,11 @@ public class MediaBindingBean {
public String getUserDefinedLabel() throws IOException { public String getUserDefinedLabel() throws IOException {
for (Entry<String, String> it : getUserDefinedArguments().entrySet()) { for (Entry<String, String> it : getUserDefinedArguments().entrySet()) {
if (it.getKey().endsWith("label")) { if (it.getKey().endsWith("label")) {
if (it.getValue().length() > 0) {
return it.getValue(); return it.getValue();
} }
} }
}
return null; return null;
} }