plugins/SpecialGroups.php
changeset 276 b8fd21190ae1
parent 273 a9a3789ce02d
child 285 e72bf2c24875
equal deleted inserted replaced
275:62e1a6f3de84 276: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       }