Updating branch refs/heads/master
         to ff2cc01d2b3c09c4137155423002f9e2451e2976 (commit)
       from 3b496f06f1858b587ddad3902558c2683c804696 (commit)

commit ff2cc01d2b3c09c4137155423002f9e2451e2976
Author: Nick Schermer <[email protected]>
Date:   Sun Nov 20 16:15:17 2011 +0100

    Dup the string.

 lib/controllers/maintainers.rb |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/lib/controllers/maintainers.rb b/lib/controllers/maintainers.rb
index b3ec81d..289cfb0 100755
--- a/lib/controllers/maintainers.rb
+++ b/lib/controllers/maintainers.rb
@@ -19,8 +19,7 @@ module Moka
             for maintainer in Maintainer.all(:active => true)
               next if maintainer.email.empty?
 
-              body = params[:body]
-              body.gsub!('<realname>', maintainer.realname)
+              body = params[:body].gsub('<realname>', maintainer.realname)
               body.gsub!('<username>', maintainer.username)
 
               Pony.mail :to => maintainer.email,
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to