|
@@ -918,7 +918,7 @@ function EditMembergroup()
|
|
|
// Get all the usernames from the string
|
|
|
if (!empty($moderator_string))
|
|
|
{
|
|
|
- $moderator_string = strtr(preg_replace('~&#(\d{4,5}|[2-9]\d{2,4}|1[2-9]\d);~', '&#$1;', $smcFunc['htmlspecialchars']($moderator_string), ENT_QUOTES), array('"' => '"'));
|
|
|
+ $moderator_string = strtr(preg_replace('~&#(\d{4,5}|[2-9]\d{2,4}|1[2-9]\d);~', '&#$1;', $smcFunc['htmlspecialchars']($moderator_string, ENT_QUOTES)), array('"' => '"'));
|
|
|
preg_match_all('~"([^"]+)"~', $moderator_string, $matches);
|
|
|
$moderators = array_merge($matches[1], explode(',', preg_replace('~"[^"]+"~', '', $moderator_string)));
|
|
|
for ($k = 0, $n = count($moderators); $k < $n; $k++)
|