logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

r10905 - trunk/admin/bugzilla: msg#00034

Subject: r10905 - trunk/admin/bugzilla
Author: hannes
Date: Wed Sep  6 02:31:25 2006
New Revision: 10905

Modified:
   trunk/admin/bugzilla/always-cc-gd-chatter.diff
Log:
Job: minor
update diff for post_bug.cgi to always cc gd-chatter@


Modified: trunk/admin/bugzilla/always-cc-gd-chatter.diff
==============================================================================
--- trunk/admin/bugzilla/always-cc-gd-chatter.diff      (original)
+++ trunk/admin/bugzilla/always-cc-gd-chatter.diff      Wed Sep  6 02:31:25 2006
@@ -1,10 +1,14 @@
---- /root/post_bug.cgi  Fri Sep 24 20:23:21 2004
-+++ post_bug.cgi        Fri Sep 24 20:21:04 2004
-@@ -207,6 +207,7 @@
- # and the list for passing to processmail
+--- post_bug.cgi.orig  2006-04-25 13:25:07.000000000 +0200
++++ post_bug.cgi       2006-09-06 02:23:26.000000000 +0200
+@@ -229,6 +229,11 @@
+ 
+ my %ccids;
+ 
++my $ccid = DBNameToIdAndCheck('gd-chatter@xxxxxxxxxxxxxxxx');
++if ($ccid && !$ccids{$ccid}) {
++  $ccids{$ccid} = 1;
++}
++
+ # Create the ccid hash for inserting into the db
  # use a hash rather than a list to avoid adding users twice
- if (defined $::FORM{'cc'}) {
-+    $::FORM{'cc'} .= ',gd-chatter@xxxxxxxxxxxxxxxx';
-     foreach my $person (split(/[ ,]/, $::FORM{'cc'})) {
-         if ($person ne "") {
-             my $ccid = DBNameToIdAndCheck($person);
+ if (defined $cgi->param('cc')) {
-- 
Gd-chatter mailing list
Gd-chatter@xxxxxxxxxxxxxxxx
https://www.opendylan.org/mailman/listinfo/gd-chatter



<Prev in Thread] Current Thread [Next in Thread>