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

Missing parenthesis in attachment download logic

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 3.2.11
    • None

      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'])
      

       

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

              Created:
              Updated: