1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

emoticons fix #4972

CLOSES #4972
This commit is contained in:
Jimako
2023-02-08 08:56:04 +01:00
committed by Nick Liu
parent d320ee926e
commit 6b828a9ac5

View File

@@ -327,6 +327,7 @@ class emotec
</tbody>
</table>
<div class='buttons-bar center'>
<input type='hidden' name='e-token' value='" . defset('e_TOKEN') . "' />
<input type='hidden' name='packID' value='{$packID}' />";
@@ -424,7 +425,7 @@ class emotec
unset($_POST['sub_conf'], $_POST['packID']);
$encoded_emotes = $tp->toDB($_POST);
// $tmp = addslashes(serialize($encoded_emotes));
$tmp = e107::serialize($encoded_emotes);
$tmp = e107::serialize($encoded_emotes, true);
if ($sql->select("core", "*", "e107_name='emote_" . $packID . "'"))
{