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

Missing parenthesis in attachment download logic

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 3.2.11
    • None
    • None

    Description

      It seems that this condition is wrong, it has to be analyzed a little, but I think the parenthesis is missing

       

      https://github.com/phpbb/phpbb/blob/3.3.x/phpBB/download/file.php#L197

       

       if (!$attachment['in_message'] && !$config['allow_attachments'] || $attachment['in_message'] && !$config['allow_pm_attach'])
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            rubencm rubencm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: