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

Deleting empty forum deletes ALL private attaches

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.0.7
    • 3.0.5
    • ACP
    • None
    • PHP Environment: 5.2.11
      Database: MySQL 5.1.37

      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;
      }

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

              Created:
              Updated:
              Resolved: