plugins/SpecialGroups.php
changeset 273 a9a3789ce02d
parent 261 5f1cd51bf1be
child 285 e72bf2c24875
equal deleted inserted replaced
272:27f5ac58992c 273:a9a3789ce02d
   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       }