fixed slashing of javascript strings SC#174

This commit is contained in:
skodak
2005-10-31 22:12:06 +00:00
parent 164099fd14
commit 6d306766c9
+1 -1
View File
@@ -10,7 +10,7 @@
foreach ($listmember as $userid => $username) {
$count++;
$useridstring .= "\"$userid\"";
$usernamestring .= "\"$username\"";
$usernamestring .= '"'.addslashes($username).'"';
if ($count < $max) {
$useridstring .= ', ';
$usernamestring .= ', ';