mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Fix upgrade routine
Was broken in 402d1f4126
(addslashes was default with WriteArray())
This commit is contained in:
parent
cdc61c90ee
commit
0057d24ede
@ -1386,7 +1386,7 @@ function update_706_to_800($type='')
|
||||
if ($nt_changed)
|
||||
{
|
||||
$s_prefs = $tp -> toDB($notify_prefs);
|
||||
$s_prefs = e107::serialize($s_prefs);
|
||||
$s_prefs = e107::serialize($s_prefs, true);
|
||||
// Could we use $sysprefs->set($s_prefs,'notify_prefs') instead - avoids caching problems ????
|
||||
$status = ($sql -> update("core", "e107_value='".$s_prefs."' WHERE e107_name='notify_prefs'") !== FALSE) ? E_MESSAGE_DEBUG : E_MESSAGE_ERROR;
|
||||
$message = str_replace('[x]',$nt_changed,LAN_UPDATE_20);
|
||||
|
Loading…
x
Reference in New Issue
Block a user