oups miss this serialise functions

This commit is contained in:
Jean-Christian Paul Denis 2022-12-11 21:15:50 +01:00
parent f7ce7fae0b
commit e4de299133
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -27,8 +27,8 @@ $bhv_pub_upd = (int) $s->bhv_pub_upd;
$update_limit = (int) $s->update_limit;
$keep_empty_feed = (bool) $s->keep_empty_feed;
$tag_case = (int) $s->tag_case;
$post_full_tpl = @unserialize($s->post_full_tpl);
$post_title_redir = @unserialize($s->post_title_redir);
$post_full_tpl = json_decode($s->post_full_tpl);
$post_title_redir = json_decode($s->post_title_redir);
$feeduser = (string) $s->user;
if ($update_limit < 1) {
@ -68,8 +68,8 @@ if (!empty($_POST['save'])) {
$s->put('update_limit', $limit);
$s->put('keep_empty_feed', $keep_empty_feed);
$s->put('tag_case', $tag_case);
$s->put('post_full_tpl', serialize($post_full_tpl));
$s->put('post_title_redir', serialize($post_title_redir));
$s->put('post_full_tpl', json_encode($post_full_tpl));
$s->put('post_title_redir', json_encode($post_title_redir));
$s->put('user', $feeduser);
dcCore::app()->blog->triggerBlog();