Commit fc8bddd9 authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4698 (Messages with e-mail addresses attached should not use Tempcode to hide them)

parent 1a4a73da
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -811,11 +811,11 @@ function actualise_post_comment($allow_comments, $content_type, $content_id, $co
            $body = substr($body, 0, strlen($body) - 2);
        }
        if (get_page_name() != 'tickets') {
            $post .= '{+START,IF,{$IS_ADMIN}}';
            $post .= '[staff_note]';
        }
        $post .= "\n\n" . '[email subject="Re: ' . comcode_escape($post_title) . ' [' . get_site_name() . ']" body="' . comcode_escape($body) . '"]' . $email . '[/email]' . "\n\n";
        if (get_page_name() != 'tickets') {
            $post .= '{+END}';
            $post .= '[/staff_note]';
        }
    }