Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-8894

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.0.6
    • 3.0.8-RC1
    • Posting
    • None
    • PHP Environment:
      Database:

    Description

      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>

      Attachments

        Activity

          People

            nickvergessen Joas Schilling [X] (Inactive)
            Dionisiy Dionisiy [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: