Skip to content
Permalink
Browse files

Remove pun_htmlspecialchars

  • Loading branch information...
Quy committed Feb 20, 2019
1 parent 28278f4 commit ef60e22320f527729c0cca82bb0a707543ddd662
Showing with 3 additions and 3 deletions.
  1. +3 −3 post.php
@@ -544,15 +544,15 @@
message($lang_common['Bad request'], false, '404 Not Found');
if (isset($_POST['req_subject']))
$subject_crumb = pun_htmlspecialchars($_POST['req_subject']);
$subject_crumb = $_POST['req_subject'];
else if (isset($cur_posting['subject']))
$subject_crumb = array(pun_htmlspecialchars($cur_posting['subject']), 'viewtopic.php?id='.$tid);
$subject_crumb = array($cur_posting['subject'], 'viewtopic.php?id='.$tid);
else
$subject_crumb = '';
$crumbs = generate_crumbs(array_filter(array(
array($lang_common['Index'], 'index.php'),
array(pun_htmlspecialchars($cur_posting['forum_name']), 'viewforum.php?id='.$cur_posting['id']),
array($cur_posting['forum_name'], 'viewforum.php?id='.$cur_posting['id']),
$subject_crumb,
$action)));

0 comments on commit ef60e22

Please sign in to comment.
You can’t perform that action at this time.