Permalink
Browse files

Style tweak

  • Loading branch information...
1 parent ea74b1e commit b71b0755a4afb183b7d242e10d5c0fc2eb549d8d @itspriddle itspriddle committed Mar 3, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/whmcs/invoice.rb
View
@@ -179,7 +179,8 @@ def self.add_credit(params = {})
#
# http://wiki.whmcs.com/API:Add_Transaction
def self.add_transaction(params = {})
- send_request(params.merge(:action => 'addtransaction'))
+ params.merge!(:action => 'addtransaction')
+ send_request(params)
end
# Get configured payment methods

0 comments on commit b71b075

Please sign in to comment.