[Tickets #1225] NEW: Restrict comment to group not work correctly in update page

bugs at bugs.horde.org bugs at bugs.horde.org
Fri Jan 21 10:32:35 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1225
-----------------------------------------------------------------------
 Ticket     | 1225
 Created By | allen.zhao at camilion.com
 Summary    | Restrict comment to group not work correctly in update page
 Queue      | Whups
 State      | Unconfirmed
 Priority   | 1. Low
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


allen.zhao at camilion.com (2005-01-21 10:32) wrote:

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']);
            }






More information about the bugs mailing list