Skip to content
Snippets Groups Projects
Commit 92f3f6b2 authored by Josh's avatar Josh
Browse files

correct a typo

parent 0b8702f1
No related branches found
No related tags found
No related merge requests found
......@@ -48,9 +48,9 @@ public class SearchParams implements VerifyRequestData<SearchParams> {
}
if (param.containsKey("keyword")) {
if (param.get("keyword") != null && param.get("keyword").length() > 0) {
this.setKeyword(param.get("keyword"));
output.setKeyword(param.get("keyword"));
}
else { this.setKeyword(null); }
else { output.setKeyword(null); }
}
if (param.containsKey("sort_type")) { output.setSort_type(vc.str2int(param.get("sort_type"), -1)); }
if (param.containsKey("category_id")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment