Skip to content

Commit b8f6d16

Browse files
committed
fix offensive filter
1 parent d301d93 commit b8f6d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/org/webservice/fotolia/FotoliaSearchQuery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public FotoliaSearchQuery setRemoveAllContentFilters()
286286
*/
287287
public FotoliaSearchQuery setOffensiveFilter(final boolean flag)
288288
{
289-
this.put("filters][offensive:2", Long.toString(flag ? 1 : 0));
289+
this.put("filters][offensive:2", Long.toString(flag ? 0 : 1));
290290
return this;
291291
}
292292

0 commit comments

Comments
 (0)