|
@@ -356,7 +356,7 @@ $SQL = "
|
356
|
356
|
i.StyleID = '".db_string($_POST['stylesheet'])."',
|
357
|
357
|
i.StyleURL = '".db_string($_POST['styleurl'])."',
|
358
|
358
|
i.Avatar = '".db_string($_POST['avatar'])."',
|
359
|
|
- i.SiteOptions = '".db_string(serialize($Options))."',
|
|
359
|
+ i.SiteOptions = '".db_string(json_encode($Options))."',
|
360
|
360
|
i.NotifyOnQuote = '".db_string($Options['NotifyOnQuote'])."',
|
361
|
361
|
i.Info = '".db_string($_POST['info'])."',
|
362
|
362
|
i.InfoTitle = '".db_string($_POST['profile_title'])."',
|
|
@@ -364,7 +364,7 @@ $SQL = "
|
364
|
364
|
i.UnseededAlerts = '$UnseededAlerts',
|
365
|
365
|
m.Email = '".DBCrypt::encrypt($_POST['email'])."',
|
366
|
366
|
m.IRCKey = '".db_string($_POST['irckey'])."',
|
367
|
|
- m.Paranoia = '".db_string(serialize($Paranoia))."'";
|
|
367
|
+ m.Paranoia = '".db_string(json_encode($Paranoia))."'";
|
368
|
368
|
|
369
|
369
|
if ($ResetPassword) {
|
370
|
370
|
$ChangerIP = db_string(DBCrypt::encrypt($LoggedUser['IP']));
|