plugins/SpecialGroups.php
changeset 447 a9a3789ce02d
parent 322 5f1cd51bf1be
child 458 c433348f3628
equal deleted inserted replaced
446:27f5ac58992c 447: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       }