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

Deleting empty forum deletes ALL private attaches

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 3.0.5
    • 3.0.7
    • ACP
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: