[#1225] Restrict comment to group not work correctly in update page
Summary Restrict comment to group not work correctly in update page
Queue Whups
Type Bug
State Resolved
Priority 1. Low
Owners Chuck Hagenbuch <chuck (at) horde (dot) org>, Horde Developers
Requester allen (dot) zhao (at) camilion (dot) com
Created 01/21/2005 (1446 days ago)
Due
Updated 01/24/2005 (1443 days ago)
Assigned 01/22/2005 (1445 days ago)
Resolved 01/23/2005 (1444 days ago)
Attachments
Milestone
Patch No

History
01/24/2005 Chuck Hagenbuch Comment #4 Reply to this comment
no, that was fixed at the same time
01/24/2005 allen (dot) zhao (at) camilion (dot) com Comment #3 Reply to this comment
Same problem in ticket/people.php

Please verify.
01/23/2005 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed in CVS, thanks very much.
01/22/2005 Jan Schneider Assigned to Chuck Hagenbuch
State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
 
01/21/2005 allen (dot) zhao (at) camilion (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Restrict comment to group not work correctly in update page
Queue ⇒ Whups
Reply to this comment
The "Restrict Comment To group" not function correctly.

We need a group id not the group name in the group enum.

In ticket/update.php  Line 68-69
             foreach ($mygroups as $group) {
                   $grouplist[$group] = String::convertCharset($group, 
$GLOBALS['conf']['sql']['charset']);
               }

My change:
             foreach ($mygroups as $mygid => $group) {
                 $grouplist[$mygid] = String::convertCharset($group, 
$GLOBALS['conf']['sql']['charset']);
             }