equal
deleted
inserted
replaced
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 } |