Commit 515afe35 authored by Elias Englmeier's avatar Elias Englmeier
Browse files

fixed a bug that would return -1 instead of empty array for idea with no tags

parent 2bc79229
......@@ -109,6 +109,9 @@ public class IdeasLocalServiceImpl extends IdeasLocalServiceBaseImpl {
for(int i=0; i<tagPrimaryKeys.length; i++){
long tagKey = Long.parseLong(tagPrimaryKeys[i].replaceAll("\\s+",""));
if(tagKey == -1){
return new ArrayList<String>();
Markdown is supported
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