mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
R593
Hot Fix изменения конфигурации форума. В базу кладутся неверные данные Signed-off-by: Dark Nightmare <gtdarknightmare@gmail.com>
This commit is contained in:
parent
b6ee3360b8
commit
75183c965c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ else
|
|||
if (isset($_POST['submit']) && $row['config_value'] != $new[$config_name])
|
||||
{
|
||||
if ($config_name == ('seed_bonus_points' || 'seed_bonus_release' || 'bonus_upload' || 'bonus_upload_price')) $new[$config_name] = serialize(str_replace(',', '.', $new[$config_name]));
|
||||
bb_update_config(array($config_name => $new[$config_name]));
|
||||
bb_update_config(array($config_name => unserialize($new[$config_name])));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue