Permalink
Browse files

fixed slashing of javascript strings SC#174

  • Loading branch information...
1 parent 164099f commit 6d306766c934c6ee85191c8f69d94cc0f6d98b4a skodak committed Oct 31, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/groups-edit.html
View
@@ -10,7 +10,7 @@
foreach ($listmember as $userid => $username) {
$count++;
$useridstring .= "\"$userid\"";
- $usernamestring .= "\"$username\"";
+ $usernamestring .= '"'.addslashes($username).'"';
if ($count < $max) {
$useridstring .= ', ';
$usernamestring .= ', ';

0 comments on commit 6d30676

Please sign in to comment.