Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-8894

JavaScript error and visible quote button on topic review if BBCodes disallowed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.8-RC1
    • 3.0.6
    • Posting
    • None
    • PHP Environment:
      Database:

      I disabled BBCodes for guests and post message as guest, see JavaScript error:

      syntax error:
      bbcodeEnabled = ;\n

      The bad code is:

      <div id="topicreview">

      <script type="text/javascript">
      // <![CDATA[
      bbcodeEnabled = ;
      // ]]>
      </script>

      Should be:

      <div id="topicreview">

      <script type="text/javascript">
      // <![CDATA[
      var bbcodeEnabled = 0;
      // ]]>
      </script>

            nickvergessen Joas Schilling
            Dionisiy Dionisiy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: