whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [2/2] Commit c8a3c86: bad form to modify somebody else's hash
Date Thu, 14 Jan 2016 01:17:45 GMT
Commit c8a3c867299057fa0c96ca12c8fbfaf5fa631312:
    bad form to modify somebody else's hash


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
www/roster/public_committee_info.rb                          | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/roster/public_committee_info.rb b/www/roster/public_committee_info.rb
index 93d8fbf..3c16805 100644
--- a/www/roster/public_committee_info.rb
+++ b/www/roster/public_committee_info.rb
@@ -40,7 +40,7 @@
     established: committee.established,
     report: schedule,
     chair: Hash[committee.chairs.map {|chair|
-      [chair.delete(:id), chair]}],
+      chair = chair.dup; [chair.delete(:id), chair]}],
     roster: committee.roster,
     pmc: !ASF::Committee.nonpmcs.include?(committee)
   }]

Mime
View raw message