[#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 Horde Developers, chuck@horde.org
Requester allen.zhao@camilion.com
Created 2005-01-21 (5654 days ago)
Due
Updated 2005-01-24 (5651 days ago)
Assigned 2005-01-22 (5653 days ago)
Resolved 2005-01-23 (5652 days ago)
Milestone
Patch No

Comments
allen.zhao@camilion.com 2005-01-21 18:32:35
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']);

             }





Chuck Hagenbuch <chuck@horde.org> 2005-01-23 05:48:13
Fixed in CVS, thanks very much.

allen.zhao@camilion.com 2005-01-24 14:18:11
Same problem in ticket/people.php



Please verify.

Chuck Hagenbuch <chuck@horde.org> 2005-01-24 19:59:58
no, that was fixed at the same time