Skip to content
Permalink
Browse files
fix(web): json_encode for input enter in /user/msg
  • Loading branch information
billchenchina committed Sep 9, 2021
1 parent 9edd285 commit ebf541ab917a630c7300464a8e4a675d6b2e0f01
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/app/controllers/user_msg.php
@@ -151,7 +151,7 @@ function deleteMsg($msgId) {
$.ajaxSetup({async:false});
refreshConversations();
<?php if (isset($_GET['enter'])): ?>
enterConversation("<?= $_GET['enter'] ?>");
enterConversation(<?= json_encode($_GET['enter']) ?>);
<?php endif ?>
});
</script>

1 comment on commit ebf541a

@billchenchina

This comment has been minimized.

Copy link
Member Author

@billchenchina billchenchina commented on ebf541a Sep 9, 2021

Well, it should be #96, sorry

Please sign in to comment.