Permalink
Browse files

fixed slashing of javascript strings SC#174; merged from MOODLE_15_ST…

…ABLE
  • Loading branch information...
1 parent 56144ef commit 93eb1250c2cb6264c46394a202a84876534760c6 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 93eb125

Please sign in to comment.