Commit 55ff0bd0 authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4621 (Comcode page titles lost when using Comcode 'include' tag)

parent a1a68e52
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1059,7 +1059,12 @@ function __comcode_to_tempcode($comcode, $source_member, $as_admin, $wrap_pos, $
                                        if (($pos <= $len) || (!$lax)) {
                                            $tag_output->attach($ret);

                                            global $COMCODE_PARSE_TITLE;
                                            $comcode_parse_title_bak = $COMCODE_PARSE_TITLE;

                                            $ret->handle_symbol_preprocessing(); // In case there is a 'SET' in there that was intended for being known by PHP code

                                            $COMCODE_PARSE_TITLE = $comcode_parse_title_bak;
                                        }
                                    }
                                } else {