|
From: Benjamin C. <bc...@us...> - 2002-05-07 12:54:55
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv24658
Modified Files:
bug.php
Log Message:
Complete the CC address fix and make CC selection opera friendly
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- bug.php 6 May 2002 13:17:29 -0000 1.101
+++ bug.php 7 May 2002 12:54:50 -0000 1.102
@@ -239,7 +239,7 @@
// Collect the CCs
if ($ccs = $db->getCol(sprintf($QUERY['bug-cc-list'], $buginfo['bug_id']))) {
- array_merge($maillist, $ccs);
+ $maillist = array_merge($maillist, $ccs);
}
// Later add a watcher (such as QA person) check here
@@ -317,7 +317,7 @@
}
// Remove CCs if requested
- if (isset($remove_cc) and count($remove_cc)) {
+ if (isset($remove_cc) and $remove_cc[0]) {
$db->query('delete from '.TBL_BUG_CC." where bug_id = $bugid
and user_id in (".delimit_list(',', $remove_cc).')');
}
|