Skip to content

Commit

Permalink
Merge pull request #36 from MariemNf/patch-1
Browse files Browse the repository at this point in the history
Fix Bug #34: Insert Pages into PDF not working
  • Loading branch information
ntmcminn committed May 16, 2017
2 parents 7a14637 + 7ba0b80 commit 6b4a14b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ public NodeRef insertPDF(NodeRef targetNodeRef, Map<String, Serializable> params
{

ContentReader targetReader = getReader(targetNodeRef);
ContentReader insertReader = getReader((NodeRef)params.get(PARAM_TARGET_NODE));
ContentReader insertReader = getReader((NodeRef)params.get(PARAM_INSERT_CONTENT));
int insertAt = Integer.valueOf((String)params.get(PARAM_PAGE)).intValue();
Boolean inplace = Boolean.valueOf(String.valueOf(params.get(PARAM_INPLACE)));

Expand Down

0 comments on commit 6b4a14b

Please sign in to comment.