plugins/SpecialGroups.php
changeset 449 b8fd21190ae1
parent 447 a9a3789ce02d
child 458 c433348f3628
equal deleted inserted replaced
445:62e1a6f3de84 449:b8fd21190ae1
   500     if ( sizeof ( $session->groups ) > count($taboo) )
   500     if ( sizeof ( $session->groups ) > count($taboo) )
   501     {
   501     {
   502       echo '<select name="group_id">';
   502       echo '<select name="group_id">';
   503       foreach ( $session->groups as $id => $group )
   503       foreach ( $session->groups as $id => $group )
   504       {
   504       {
   505         $taboo[] = $group;
   505         $taboo[] = $db->escape($group);
       
   506         $group = htmlspecialchars($group);
   506         if ( $group != 'Everyone' )
   507         if ( $group != 'Everyone' )
   507         {
   508         {
   508           echo '<option value="' . $id . '">' . $group . '</option>';
   509           echo '<option value="' . $id . '">' . $group . '</option>';
   509         }
   510         }
   510       }
   511       }