Skip to content

Commit

Permalink
Fix object store reference to work with new Prawn
Browse files Browse the repository at this point in the history
  • Loading branch information
bradediger committed Nov 5, 2009
1 parent 8d011eb commit 4edf379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/prawn/security.rb
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ module Prawn::Document::Internals
# Prawn/Security patches render_body so that it spits out encrypted content
# iff the document is encrypted.
def render_body(output)
@objects.each do |ref|
@store.each do |ref|
ref.offset = output.size
output << (@encrypted ? ref.encrypted_object(user_encryption_key) :
ref.object)
Expand Down

0 comments on commit 4edf379

Please sign in to comment.