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

Deleting empty forum deletes ALL private attaches

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.5
    • Fix Version/s: 3.0.7
    • Component/s: ACP
    • Labels:
      None
    • Environment:
      PHP Environment: 5.2.11
      Database: MySQL 5.1.37

      Description

      When deleting empty forum (without topics) in ACP, then all orphan attaches and attaches in private messages will be DELETED.
      Actually executes query: DELETE FROM attachments WHERE topic_id = 0

      It should be cheked in function delete_attachments
      if (empty($ids))
      {
      return false;
      }

        Attachments

          Activity

            People

            • Assignee:
              bantu Andreas Fischer
              Reporter:
              _Maxxi_ _Maxxi_ [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: