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

Missing parenthesis in attachment download logic

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.11
    • Fix Version/s: None
    • Component/s: 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

            Assignee:
            Unassigned
            Reporter:
            rubencm rubencm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: