6.0.0-git
2019-04-23

[#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 (at) , chuck (at) horde (dot) org
Requester allen.zhao (at) camilion (dot) com
Created 2005-01-21 (5205 days ago)
Due
Updated 2005-01-24 (5202 days ago)
Assigned 2005-01-22 (5204 days ago)
Resolved 2005-01-23 (5203 days ago)
Milestone
Patch No

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



Please verify.
2005-01-23 05:48:13 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed in CVS, thanks very much.
2005-01-22 11:17:14 Jan Schneider Assigned to Chuck Hagenbuch
State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
 
2005-01-21 18:32:35 allen (dot) zhao (at) camilion (dot) com Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
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']);

             }




Saved Queries