Commit ba5a1ef7 authored by Isak W's avatar Isak W
Browse files

Fixed ClassCastException when getting label name

parent 1287b236
......@@ -155,7 +155,7 @@ public abstract class AbstractApi implements Constants {
return (id);
}
String name = ((User) obj).getName();
String name = ((Label) obj).getName();
if (name != null && name.trim().length() > 0) {
return (urlEncode(name.trim()));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment