Skip to content

Commit

Permalink
bugfix/email-toAllAuthorized - use proper variable to set toAllAuthor…
Browse files Browse the repository at this point in the history
…ized
  • Loading branch information
zyoutz-r7 committed Nov 21, 2016
1 parent d2c5759 commit 6b92bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nexpose/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def initialize(to_all_authorized, send_to_owner_as, send_to_acl_as, send_as)

def to_xml
xml = '<Email'
xml << %( toAllAuthorized='#{@toAllAuthorized ? 1 : 0}')
xml << %( toAllAuthorized='#{@to_all_authorized ? 1 : 0}')
xml << %( sendToOwnerAs='#{@send_to_owner_as}') if @send_to_owner_as
xml << %( sendToAclAs='#{@send_to_acl_as}') if @send_to_acl_as
xml << %( sendAs='#{@send_as}') if @send_as
Expand Down

0 comments on commit 6b92bb7

Please sign in to comment.