fixed slashing of javascript strings SC#174
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
foreach ($listmember as $userid => $username) {
|
||||
$count++;
|
||||
$useridstring .= "\"$userid\"";
|
||||
$usernamestring .= "\"$username\"";
|
||||
$usernamestring .= '"'.addslashes($username).'"';
|
||||
if ($count < $max) {
|
||||
$useridstring .= ', ';
|
||||
$usernamestring .= ', ';
|
||||
|
||||
Reference in New Issue
Block a user