Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed May 18, 2017
1 parent a397b0a commit 16813c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private ProcessInfo createProcessInfo(@NonNull final CreateProcessInstanceReques
recordId = -1;
}

sqlWhereClause = view.getSqlWhereClause(viewDocumentIds);
sqlWhereClause = viewDocumentIds.isEmpty() ? null : view.getSqlWhereClause(viewDocumentIds);
}
//
// Single document call
Expand Down

0 comments on commit 16813c1

Please sign in to comment.